Create users and groups in private automation hub and assign appropriate access permissions to the groups.
Outcomes
Create users and groups in private automation hub.
Assign appropriate access permissions to the groups.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command ensures that private automation hub is installed.
[student@workstation ~]$ lab start org-hub
Procedure 2.3. Instructions
Create a new group called Developers and assign permissions to manage Ansible Content Collections and containers in private automation hub.
Navigate to https://hub.lab.example.com and log in as the admin user with redhat as the password.
Navigate to → and then click .
Enter Developers in the field and then click .
Click . In the object list, select the following permissions:
In the object list, select the following permissions:
.
In the object list, select the following permissions:
Click to create the new group.
Create a new group called Image Managers and assign permissions to manage images in private automation hub.
Navigate to → and then click .
Enter Image Managers in the field and then click .
Click . In the object list, select the following permissions:
Click to create the new group.
Create a new group called Operations and assign all the permissions to all the objects in private automation hub.
Navigate to → and then click .
Enter Operations in the field and then click .
Click and for each object select all the permissions.
Click to create the new group.
Create a new user called daniel and add the user to the Developers group.
Navigate to → and then click .
On the page, fill in the details as follows and click to create the new user.
| Field | Value |
|---|---|
daniel
| |
Daniel
| |
George
| |
daniel@lab.example.com
| |
redhat123
| |
redhat123
| |
Create a new user called oliver and add the user to the Operations group.
Navigate to → and then click .
On the page, fill in the details as follows and click to create the new user.
| Field | Value |
|---|---|
oliver
| |
Oliver
| |
Stone
| |
oliver@lab.example.com
| |
redhat123
| |
redhat123
| |
Create a new user called simon as a super user.
Navigate to → and then click .
On the page, fill in the details as follows and click to create the new user.
| Field | Value |
|---|---|
simon
| |
Simon
| |
Stephens
| |
simon@lab.example.com
| |
redhat123
| |
redhat123
| |
| (no group) | |
Verify the permissions for the Developers group by creating a namespace and then uploading a content collection.
Log out from the private automation hub web UI and log in as daniel with redhat123 as the password.
Navigate to → and then click .
On the page, fill in the details as follows and click to create the new namespace.
| Field | Value |
|---|---|
community
| |
Developers
|
The group must be a namespace owner in order to upload to the namespace. Adding a group as namespace owner provides and permissions to the group.
Click .
Click , select the archive located at /home/student/content-collections/community/community-mysql-3.1.1.tar.gz, and then click .
After the upload completes successfully, click → .
Click to approve the community.mysql content collection.
Navigate to → and verify that the private automation hub server displays the automation content collection.
Confirm that user simon has all permissions, as the super user.
Log out from the private automation hub web UI and log in as simon with redhat123 as the password.
Navigate to → and confirm that button is enabled. It means user simon has permission to create new users.
Navigate to → and confirm that button is enabled. It means user simon has permission to create new namespaces.
Navigate to → and confirm that is enabled. It means user simon has permission to add new execution environment.
Log out from the private automation hub web UI.