-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.4.12, 7.5.3
-
6.04
-
14
-
Severity 3 - Minor
-
1
-
Summary
New user Directories do not contain existing nested group relations. Users within the new directory can be added to groups, but won't obtain the parent group membership. It is also not possible to modify the nested group to group memberships to get this updated.
Environment
JIRA using multiple User Directories and having a new one added.
Steps to Reproduce
- Create a JIRA instance with two directories:
- JIRA Internal and JIRA Delegated directory
- Enable Nested local groups for all directories
- Create group: Parent and Child
- Create relationship (nested) between these groups
- Add a user to the Child group
- Note that on the User page, it shows the user will be part of both Parent and Child groups
- Add a new JIRA Delegated directory
- Create a new user in this new directory
- Add the new user to the Child group
- Notice that this new user is only part of the Child group and not the Parent
Expected Results
Users in the new directory are added to the Child group and also gain membership to the Parent group
Actual Results
Users in the new directory are added to the Child group and do not show membership to Parent
Cause
select id, directory_name from cwd_directory; id | directory_name ----+----------------------------- 1 | JIRA Internal Directory 10000 | JIRA Delegated LDAP 10100 | JIRA Delegated LDAP - New
select id, membership_type, parent_name, child_name, directory_id from cwd_membership where parent_name = 'Parent Group';
id | membership_type | parent_name | child_name | directory_id
-------+-----------------+--------------+-------------+--------------
10100 | GROUP_GROUP | Parent Group | Child Group | 1
10200 | GROUP_GROUP | Parent Group | Child Group | 10000
- This shows the Parent to Child memberships only for the original directories. A new GROUP_GROUP entry was not added for the new directory
Workaround
- Manually add the GROUP_GROUP relation to the cwd_membership table for the newly created directory.
- Restart JIRA
- is related to
-
JRASERVER-24671 Nested groups do not work between internal and external groups or between external and external groups
- Gathering Impact
- relates to
-
JRASERVER-47271 LDAP User will only inherit the first nested group relationship
- Closed