Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3764

Changing groupname casing causes intermittent loss of group membership in Confluence and JIRA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.7.2
    • 2.7
    • None
    • None

      Diagnosis

      Group names have had their case changed in the source directory. The following will appear in the atlassian-crowd.log:

      2013-09-12 01:44:15,408 WARN [scheduler_Worker-9] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate remote group name [ group1 ] casing differs from local group name [ GROUP1 ]. Group details will be kept updated, but the group name cannot be updated
      

      Steps to Reproduce

      1. Set up Crowd 2.7 and Confluence 5.4.1 (these are the versions I used, but this bug has been apparent since at least Confluence 5.3.1, JIRA 6.1.2 and Stash 2.11.2)
      2. Create a Crowd user
      3. Create a group called 'group1'
      4. Add the user to the group
      5. Create a group in Crowd called confluence-administrators and add the user to it
      6. Set up Crowd as a directory in Confluence (or JIRA) and sync it
      7. Change the name of the group in tthe Confluence (or JIRA) database to 'GROUP1' and sync again
        (This is to simulate the casing being changed in an external directory, eg AD. You cannot change the case directly in Crowd, but if AD is connected to Crowd and Crowd is connected to Confluence, when the casing changes in AD this issue occurs)
      8. Log in to Confluence as the user.
      9. Go to Admin > Users in Confluence (confirm the password when prompted)
      10. View your group memberships and confirm you are a member of GROUP1
      11. Go to the Dashboard
      12. Click in the top banner to drop admin rights
      13. Go back to Admin > Users, confirming password again when prompted
      14. Confirm that you are no longer a member of GROUP1
      15. Repeat steps 11 - 13 and confirm that you are a member of GROUP1 again
      16. Repeat again and confirm the membership is gone

      NB: This is similar to old issues that used to occur when the casing changed, but they all occurred on intermittent directory syncs. That does not appear to be occurring anymore, and it is now only authenticating into the admin section of both JIRA and Confluence that causes this issue.

              dberrueta Diego Berrueta
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: