Chapter 2. Configuring user access for container repositories in private automation hub
Configure user access for container repositories in your private automation hub to provide permissions that determine who can access and manage images in your Ansible Automation Platform.
2.1. Prerequisites
- You can create groups and assign permissions in private automation hub.
2.2. Container registry group permissions
User access provides granular controls to how users can interact with containers managed in private automation hub. Use the list of permissions below to create groups with the right privileges for your container registries.
Permission name | Description |
---|---|
Create new containers | Users can create new containers |
Change container namespace permissions | Users can change permissions on the container repository |
Change container | Users can change information on a container |
Change image tags | Users can modify image tags |
Pull private containers | Users can pull images from a private container |
Push to existing container | Users can push an image to an existing container |
View private containers | Users can view containers marked as private |
2.3. Creating a new group
You can create and assign permissions to a group in Automation Hub that enables users to access specified features in the system. By default, there is an admins group in Automation Hub that has all permissions assigned and is available on initial login with credentials created when installing Automation Hub.
Prerequisites
- You have groups permissions and can create and manage group configuration and access in Automation Hub.
Procedure
- Log in to your local Automation Hub.
-
Navigate to
. - Click .
- Provide a Name and click .
You can now assign permissions and add users on the new group edit page.
2.4. Assigning permissions to groups
You can assign permissions to groups in Automation Hub that enable users to access specific features in the system. By default, new groups do not have any assigned permissions. You can add permissions upon initial group creation or edit an existing group to add or remove permissions
Prerequisites
- You have Change group permissions and can edit group permissions in Automation Hub.
Procedure
- Log in to your local Automation Hub.
-
Navigate to
. - Click on a group name.
- Select the Permissions tab, then click .
- Click in the field for each permission type and select permissions that appear in the list.
- Click when finished assigning permissions.
The group can now access features in Automation Hub associated the their assigned permissions.
Additional resources
- See Container registry group permissions to learn more about specific permissions.
2.5. Adding users to groups
You can add users to groups when creating a group or manually add users to existing groups. This section describes how to add users to an existing group.
Prerequisites
- You have groups permissions and can create and manage group configuration and access in Automation Hub.
Procedure
- Log in to Automation Hub
-
Navigate to
. - Click on a Group name.
- Navigate to the tab, then click .
- Select users to add from the list and click .
You have now added the users you selected to the group. These users now have permissions to use Automation Hub assigned to the group.