-
Bug
-
Resolution: Fixed
-
Medium
-
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
- 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)
- Create a Crowd user
- Create a group called 'group1'
- Add the user to the group
- Create a group in Crowd called confluence-administrators and add the user to it
- Set up Crowd as a directory in Confluence (or JIRA) and sync it
- 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) - Log in to Confluence as the user.
- Go to Admin > Users in Confluence (confirm the password when prompted)
- View your group memberships and confirm you are a member of GROUP1
- Go to the Dashboard
- Click in the top banner to drop admin rights
- Go back to Admin > Users, confirming password again when prompted
- Confirm that you are no longer a member of GROUP1
- Repeat steps 11 - 13 and confirm that you are a member of GROUP1 again
- 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.
- causes
-
BSERV-4474 Changing groupname casing in external user management causes intermittent loss of group membership
- Closed
-
CONFSERVER-32229 Changing groupname casing in external user management causes intermittent loss of group membership
- Closed
-
CWD-3900 Mixed case group names breaks the connection between JIRA and LDAP for User Management
- Closed
-
JRASERVER-36424 Mixed case group names breaks the connection between JIRA and LDAP for User Management
- Closed
- is duplicated by
-
CWD-3900 Mixed case group names breaks the connection between JIRA and LDAP for User Management
- Closed