Confluence 5.7 has reached end of life
Check out the [latest version] of the documentation
This page describes how Confluence handles nested groups that exist in one or more of your directory servers.
You can enable or disable support for nested groups on each directory individually. Go to the 'User Directories' section of the Confluence Administration Console, edit the directory and select 'Enable Nested Groups'. See Configuring User Directories.
Notes:
On this page:
The information on this page does not apply to Confluence Cloud.
This section explains how nested groups affect logging in, permissions, and viewing and updating users and groups.
When a user logs in, they can access the application if they belong to an authorized group or any of its sub-groups.
The user can access a function if they belong to a group that has the necessary permissions, or if they belong to any of its sub-groups.
If you ask to view the members of a group, you will see all users who are members of the group and all users belonging its sub-groups, consolidated into one list. We call this a flattened list.
You can't view or edit the nested groups themselves, or see that one group is a member of another group.
If you add a user to a group, the user is added to the named group and not to any other groups.
If you try to remove a user from a flattened list, the following will happen:
Imagine the following two groups exist in your directory server:
Memberships:
You will see that jsmith is a member of both marketing and staff. You will not see that the two groups are nested. If you assign permissions to the staff group, then jsmith will get those permissions.
In an LDAP directory server, we have the groups engineering-group and techwriters-group. We want to grant both groups developer-level access to the JIRA. We will have a group called jira-developers that has developer-level access.
Group memberships are now:
When the JIRA application requests a list of users in the jira-developers group, it receives the following list:
Diagram: Sub-groups as members of the jira-developers group
Definition of nested groups in LDAP. In an LDAP directory, a nested group is a child group entry whose DN (Distinguished Name) is referenced by an attribute contained within a parent group entry. For example, a parent group Group One might have an objectClass=group attribute and one or more member=DN attributes, where the DN can be that of a user or that of a group elsewhere in the LDAP tree:
member=CN=John Smith,OU=Users,OU=OrgUnitA,DC=sub,DC=domain member=CN=Group Two,OU=OrgUnitBGroups,OU=OrgUnitB,DC=sub,DC=domain