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.

Table 2.1. List of group permissions used to manage containers in private automation hub

Permission nameDescription

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

  1. Log in to your local Automation Hub.
  2. Navigate to User AccessGroups.
  3. Click Create.
  4. Provide a Name and click Create.

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

  1. Log in to your local Automation Hub.
  2. Navigate to User AccessGroups.
  3. Click on a group name.
  4. Select the Permissions tab, then click Edit.
  5. Click in the field for each permission type and select permissions that appear in the list.
  6. Click Save when finished assigning permissions.

The group can now access features in Automation Hub associated the their assigned permissions.

Additional resources

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

  1. Log in to Automation Hub
  2. Navigate to User AccessGroups.
  3. Click on a Group name.
  4. Navigate to the Users tab, then click Add.
  5. Select users to add from the list and click Add.

You have now added the users you selected to the group. These users now have permissions to use Automation Hub assigned to the group.