View, create, or assign roles to users
A user is an individual or entity that can log in to the platform and perform tasks. Users are fundamental units to which roles can be assigned, either directly by an administrator or indirectly through a team.
Ansible Automation Platform automatically creates a default system administrator user so they can log in and set up Ansible Automation Platformfor their organization. Do not delete this user.
The containerized installer uses this account to register services with platform gateway. Deleting the default system administrator user causes installation and upgrade operations to fail.
If you have already deleted the default system administrator user, you must set the gateway_admin_user variable in your installer inventory file to specify an alternative system administrator account before running the installation program.
You can sort or search the User list by Username, First name, Last name, or Email. Click the arrows in the header to toggle your sorting preference. You can view User type and Email beside the user name on the Users page.
View the Users list Copy linkLink copied!
The Users page displays the existing users for your installation. From here, you can search for a specific user, filter the list of users, or change the sort order for the list.
About this task Copy linkLink copied!
When user accounts have been migrated to Ansible Automation Platform 2.6 during the upgrade process, these accounts are also displayed in the Users list view. You can see whether these users have administrator privileges by editing the account. See Editing a user for instructions.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- In the Search bar, enter an appropriate keyword for the user you want to search for and click the arrow icon.
- From the menu bar, you can sort the list of users by using the arrows for Username, Email, First name, Last name or Last login to toggle your sorting preference.
- You can view user details by selecting a Username from the Users list view.
Create a user Copy linkLink copied!
You can create three types of users in Ansible Automation Platform:
About this task Copy linkLink copied!
- Normal user
- Normal users have read and write access limited to the resources (such as inventory, projects, and job templates) for which that user has been granted the appropriate roles and privileges. Normal users are the default type of user when no other User type is specified.
- Ansible Automation Platform Administrator
- An administrator (also known as a Superuser) has full system administration privileges, with full read and write privileges over the entire installation. An administrator is typically responsible for managing all aspects of and delegating responsibilities for day-to-day work to various users.
- Ansible Automation Platform Auditor
- Auditors have read-only capability for all objects within the environment.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
If you log in as yourself, and view the details of your user profile, you can manage tokens from your user profile by selecting the Tokens tab. For more information, see Adding a token.
Edit a user Copy linkLink copied!
You can change the properties of a user account after it is created.
About this task Copy linkLink copied!
To see whether a user had service level auditor privileges, you must refer to the API.
After upgrading to 2.6, users previously designated as automation controller administrators are labeled as platform administrators in the User type column in the Users list view. Automation hub administrators are labeled as Normal in the User Type column.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- Click the Pencil
icon next to the user you want to edit and select Edit user. - The Edit user page is displayed where you can change user details such as Password, Email, User type, and Organization.
- After your changes are complete, click Save user.
Delete a user Copy linkLink copied!
Before you can delete a user, you must have normal user or system administrator permissions. When you delete a user account, the name and email of the user are permanently removed from Ansible Automation Platform.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- To delete a single user, select the ⋮ icon next to the user you want to remove and select Delete user.
- To bulk delete users, select the checkbox next to each user you want to remove, and then from the ⋮ list, click Delete users.
Assign roles to a user Copy linkLink copied!
You can grant users granular access to specific resources such as inventories, projects, or job templates by assigning users roles.
About this task Copy linkLink copied!
You can view and manage roles that were assigned directly to a user by an administrator in the user’s Roles tab.
You can view roles that a user inherited from a team assignment in the View indirectly assigned roles link in the page banner. You cannot directly manage an indirectly-assigned role. You can only manage indirectly-assigned roles by editing the team’s role assignments, or by removing the user from the team.
Users cannot be assigned to an organization through role assignment, nor can you assign users organization roles from this screen. Refer to the steps provided in Adding a user to an organization for detailed instructions on assigning a user to an organization.
Roles are labeled with their associated Ansible Automation Platform component and function. These components align with Ansible Automation Platform services and the side navigation structure in the user interface. Component labels can be understood as follows:
- Automation Execution refers to automation controller
- Automation Decisions refers to Event-Driven Ansible
- Automation Content refers to automation hub
When assigning roles, ensure that you are selecting the required resource in the correct component context, because resources such as projects and credentials can be associated with both Automation Execution and Automation Decisions.
Procedure Copy linkLink copied!
Remove roles from a user Copy linkLink copied!
You can remove a user’s roles by editing the user information in the Roles tab.