> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Groups

Creating groups allows you to assign members of your organization to a specific set of channels you’ve created within Package Security Manager. These channel sets are private and only accessible to authenticated users who are assigned to the groups that contain them.

It is also important to understand that any permissions that can be granted to an individual by assigning them a role can also be granted to multiple people by assigning the role to a group. This is useful when utilizing a federated user identity server (such as LDAP/AD). For more information about group permissions, see [Group roles](/docs/psm-on-prem/6.7.1/admin/keycloak_config/permissions#group-roles).

Anaconda utilizes Keycloak to manage groups. However, any action that is taken in Package Security Manager will also be applied in Keycloak, meaning you can perform most group management functions directly in Package Security Manager UI. Keep in mind, there are exceptions to this, and some tasks must be performed within the Keycloak UI.

## Viewing your groups

To view your groups at any time, select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation. Select a group from the list to view its associated channels and members.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/9H-5W4tTlP7-Fn32/images/as_view_group_3.png?fit=max&auto=format&n=9H-5W4tTlP7-Fn32&q=85&s=19bde1f42f02e012012ba2e82975a6bc" alt="" width="1922" height="939" data-path="images/as_view_group_3.png" />
</Frame>

Groups of users imported from external directory servers (such as LDAP/AD) also appear in this list, if the servers are synced.

## Creating a group

To create a new group, complete the following steps:

1. Log in to Package Security Manager.
2. Select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation and click <Icon icon="plus" iconType="regular" /> **Create Group**.
3. Enter a unique name and provide a brief description for your group, then click **Create**.

## Adding members to a group

To add members to a group, complete the following steps:

1. Log in to Package Security Manager.
2. Select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation.
3. Select your group.
4. Open the <Icon icon="gear" iconType="regular" /> **Manage** dropdown menu and select *Add Members*.
5. Enter a username in the search field to find a member, then click on the user to add them to the group. Repeat this process until all members have been added to the group, then click **Save**.
6. Assign permission levels for each member you’ve added to the group, then click **Save**.

## Removing members from a group

To remove members from a group, complete the following steps:

1. Log in to Package Security Manager.
2. Select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation.
3. Select your group.
4. Click **Remove** <Icon icon="trash" iconType="regular" /> beside the username you want removed from the group.
5. Click **Remove** to confirm that you want to remove the member from the group.

<Tip>
  You can remove multiple members at once by selecting the checkboxes for all users you want removed from the group and clicking <Icon icon="trash" iconType="regular" /> **Remove # members(s)** at the top of the page.
</Tip>

## Adding channels to a group

To add channels to a group, complete the following steps:

1. Log in to Package Security Manager.
2. Select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation.
3. Select your group.
4. Open the <Icon icon="gear" iconType="regular" /> **Manage** dropdown menu and select *Assign to Channel*.
5. Open the dropdown menu and select a channel to assign to the group.
6. Set the permission level for group members to have within the channel, then click **Save**.

<Note>
  You can assign multiple channels to a group, but you must add them one at a time.
</Note>

## Removing channels from a group

To remove channels from a group, complete the following steps:

1. Log in to Package Security Manager.
2. Select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation.
3. Select your group.
4. Click the **Channels** tab.
5. Click <Icon icon="trash" iconType="regular" /> **Remove** beside the channel you want to remove.
6. Click **Remove** to confirm that you want to remove the channel.

## Deleting a group

Only the group owner can delete the group. To delete a group, complete the following steps:

1. Log in to Package Security Manager.
2. Select <Icon icon="user-group" iconType="regular" /> **Groups** from the left-hand navigation.
3. Click <Icon icon="trash" iconType="regular" /> **Delete Group** beside the group you want to delete.
4. Click **Remove** to confirm that you want to delete the group.
