2020-11-11 16:21:21 +00:00
[id="proc-managing-groups_{context}"]
2020-12-01 23:16:31 +00:00
= Groups
2020-11-11 16:21:21 +00:00
[role="_abstract"]
2020-11-10 18:11:10 +00:00
Groups in {project_name} manage a common set of attributes and role mappings for each user. Users can be members of any number of groups and inherit the attributes and role mappings assigned to each group.
2020-11-13 14:09:23 +00:00
To manage groups, click *Groups* in the menu.
2016-05-25 20:32:21 +00:00
.Groups
2022-10-05 18:43:15 +00:00
image:images/groups.png[]
2016-04-18 15:15:25 +00:00
2020-11-10 18:11:10 +00:00
Groups are hierarchical. A group can have multiple subgroups but a group can have only one parent. Subgroups inherit the attributes and role mappings from their parent. Users inherit the attributes and role mappings from their parent as well.
If you have a parent group and a child group, and a user that belongs only to the child group, the user in the child group inherits the attributes and role mappings of both the parent group and the child group.
2020-11-11 17:08:48 +00:00
The following example includes a top-level *Sales* group and a child *North America* subgroup.
2020-11-10 18:11:10 +00:00
To add a group:
2016-05-25 20:32:21 +00:00
2020-11-10 18:11:10 +00:00
. Click the group.
2022-07-26 15:50:24 +00:00
. Click *Create group*.
. Enter a group name.
. Click *Create*.
. Click the group name.
2020-11-17 20:40:14 +00:00
+
The group management page is displayed.
2020-11-10 18:11:10 +00:00
+
2016-05-25 20:32:21 +00:00
.Group
2022-10-05 18:43:15 +00:00
image:images/group.png[]
2016-05-25 20:32:21 +00:00
2020-11-10 18:11:10 +00:00
Attributes and role mappings you define are inherited by the groups and users that are members of the group.
2016-05-25 20:32:21 +00:00
2020-11-10 18:11:10 +00:00
To add a user to a group:
2016-05-25 20:32:21 +00:00
2020-11-13 14:09:23 +00:00
. Click *Users* in the menu.
2020-11-11 17:08:48 +00:00
. Click the user that you want to perform a role mapping on. If the user is not displayed, click *View all users*.
. Click *Groups*.
2020-11-10 18:11:10 +00:00
+
2021-06-17 14:39:30 +00:00
.User groups
2022-10-05 18:43:15 +00:00
image:images/user-groups.png[]
2020-11-10 18:11:10 +00:00
+
2022-07-26 15:50:24 +00:00
. Click *Join Group*.
. Select a group from the dialog.
2020-11-11 17:08:48 +00:00
. Select a group from the *Available Groups* tree.
. Click *Join*.
2016-05-25 20:32:21 +00:00
2020-11-10 18:11:10 +00:00
To remove a group from a user:
2016-05-25 20:32:21 +00:00
2022-07-26 15:50:24 +00:00
. Click *Users* in the menu.
. Click the user to be removed from the group.
. Click *Leave* on the group table row.
2016-05-25 20:32:21 +00:00
2020-11-11 17:08:48 +00:00
In this example, the user _jimlincoln_ is in the _North America_ group. You can see _jimlincoln_ displayed under the *Members* tab for the group.
2016-05-25 20:32:21 +00:00
2021-06-17 14:39:30 +00:00
.Group membership
2022-10-05 18:43:15 +00:00
image:images/group-membership.png[]