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

    • 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.

            [CWD-3764] Changing groupname casing causes intermittent loss of group membership in Confluence and JIRA

            stipx added a comment -

            Is there any way to not get these warnings any more? I mean is there something I can do to fix the group name in Bitbucket 7.7.1 to not send me an email every day because there is a group that was renamed?

            stipx added a comment - Is there any way to not get these warnings any more? I mean is there something I can do to fix the group name in Bitbucket 7.7.1 to not send me an email every day because there is a group that was renamed?
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1511149 ] New: JAC Bug Workflow v3 [ 3364454 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Kenny Ng (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 350369 ]
            Kenny Ng (Inactive) made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 350369 ]
            Kenny Ng (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 350451 ]
            Kenny Ng (Inactive) made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 350451 ]
            vkharisma made changes -
            Link New: This issue causes JRACLOUD-36424 [ JRACLOUD-36424 ]
            vkharisma made changes -
            Link New: This issue causes CONFCLOUD-32229 [ CONFCLOUD-32229 ]
            James Richards made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 187408 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1393346 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1511149 ]

              dberrueta Diego Berrueta
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: