Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-30407

Deleting a user from LDAP will orphan Project Roles and they cannot be deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 4.4.5, 5.1.8
    • None

    Description

      Summary:

      When a user is deleted from LDAP, it will orphan projectroleactor records that will be unable to be deleted through the GUI as an error is generated.

      Steps to Reproduce:

      1. Add a user to LDAP.
      2. Setup a LDAP User Directory in JIRA.
      3. Add that user to a Project Role.
      4. Delete the user from LDAP.
      5. Force an LDAP synchronisation.
      6. Attempt to remove the user from the Project Role - the attached error will be generated.

      Expected Results:

      The user is deleted from the project role when it is deleted from JIRA.

      Actual Results:

      The user is not, and the project role is then orphaned.

      Regression:

      Haven't tested earlier than 4.4.5.

      Notes:

      Deleting an internal user will remove the project role - refer to the linked issue for more information.

      Attachments

        1. Unable to delete.png
          64 kB
          Dave C
        2. User not deleted.png
          61 kB
          Dave C

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcurrie@atlassian.com Dave C
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: