Adding a Sub-Group

Still need help?

The Atlassian Community is here for you.

Ask the community

If your directory supports nested groups, you can add a group as a member of another group. This page tells you how to add such a sub-group.

About nested groups

Some user directories allow you to define a group as a member of another group. Groups in such a structure are called 'nested groups'. In Crowd, you can map any group to an application, including a group which contains other groups. Crowd supports nested groups for LDAP directory connectors, Crowd internal directories, Delegated Authentication directories and custom directories. You can enable or disable support for nested groups on each directory individually. For more information, refer to the documentation on configuring a directory. For more details about nested groups, refer to Nested Groups in Crowd.

To add a sub-group,

  1. Log in to the Crowd Administration Console. First, enable nested groups via the directory configuration screen, the 'Add Groups' button will not appear if nested groups are not enabled for your directory.
  2. In the top navigation bar, click the Groups.
  3. Select a directory and click Search to list all the groups that exist in that directory.
    You can refine your search by specifying a Name or by choosing Active or Inactive groups.
  4. Now, you need to edit the parent group which will contain the sub-group:
    • If the parent group does not yet exist, add it now.
    • If the parent group already exists, find it in the list of groups and click the link on the group name to view the group details.
  5. In the View Group — Details screen, click the Direct Members tab.
  6. This will display a list of the selected group's members, both the groups and the users that are direct members of the group. See the screenshot below. Click the 'Add Groups' button.
    (info) The 'Add Groups' button will not appear if nested groups are not enabled for your directory. You can enable nested groups via the directory configuration screen.
  7. Enter your search criteria in the Search textbox.

    You can enter all or part of the group name. Leave the search box empty to match all group names.
    You can refine your search by choosing 'Active' or 'Inactive' groups.
    You can also set the 'Maximum Results', i.e. the number of groups to be retrieved.
  8. Click Search.
    Crowd lists the groups in the selected directory that match your search criteria, but excluding groups that are already sub-groups of the selected group.
    (info) Crowd displays a maximum number of groups as specified in the Maximum Results field. If too many groups match the search, you can change the search criteria and click 'Search' again. (There is no way to move to the next page of matching groups.)
  9. Select the groups by putting a tick in the checkbox next to one or more group names. To select all groups, you can put a tick in the checkbox at the top of the table.
  10. Click Add Selected groups button to add the selected groups to the group.

Screenshot: Direct members of a group

Screenshot: Popup for adding sub-groups

Last modified on Oct 11, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.