Hello,
In our JIRA system we have 3 directories for user authentication: the JIRA internal directory (for non-real users), and 2 active directories for real users depending on if the user is a private or public sector worker.
One of the administrators has come up with the idea that we can nest groups, and with the correct hierarchical structure, would only need to put users in one group according to their roll.
However, our tests have returned confusing results:
Is this normal behaviour? Have I missed off a setting so that it does not matter in which directory the users are defined?
Thanks for any explanation you are able to give.
Users in Jira are only able to have group memberships for groups that originate from the same user directory as the user is logged in to. Additionally, if the same user exists in multiple user directories in Jira, that username can only login to the top ordered directory. So if your users are logged into Jira via the 2nd LDAP connector, they can't belong to groups that come from the 1st LDAP. This is true across all kinds of user directories in Jira, the only exception to this is the use of read-only with local groups, which in turn allows LDAP users to be belong to local groups in the the Jira internal directory.
What tends to complicate this kind of scenario is that most times I see 2 LDAP connections in Jira, they are often connectors to the same LDAP server address with only slightly modified settings. Are you using this kind of setup? Or are these 2 LDAP servers really separate LDAP machines. I ask because Jira is treating each user directory as if it was an independent collection of user and group data. So while you might have the same group name in both LDAP #1 and LDAP #2, say 'Group 1', these groups are not always logically identical in Jira for the sake of permissions because the user directories being treated as separate entities logically.
I would be interested to learn more about the settings you have in Jira for each user directory. Specifically if you expand the "Advanced Settings", I'd check to see if the option for 'Enabled Nested Groups' is set for both of these. I suspect it is enabled for LDAP #1, but not for #2 right now.
If that does not explain this behavior, then the next steps would be to take a closer look at your Group Schema Settings and Membership Schema Settings to better understand what logic Jira is using to determine which groups users belong to.
Hi,
did you find a solution for this topics?
Because I am facing the same issue with only 2 user directories setted up, both with Nested Group option enabled:
If I add userLocal1 (from local dir) to Group 2: it successfully belongs to Group 1
If I add userSamAccount (from AD) to Group 2: it belongs ONLY to Group 2 but not nested one
Thanks
Cristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.