Bulk-assign roles to users with teams
As an administrator, you can use teams to bulk-assign roles to users that need to share the same access.
A team is a subdivision of an organization that groups users and roles together for specific resources. Teams offer a means to implement role-based access control schemes and delegate responsibilities across organizations by allowing you to grant access to users in bulk. For example, you can grant resource access to a team, and therefore to all the users in the team, rather than granting access to each individual user on the team.
You can create as many teams as needed for your organization. Teams can only be assigned to one organization while an organization can be made up of multiple teams. Each team can be assigned roles, the same way roles are assigned for users. Teams can also scalably assign ownership for credentials, preventing multiple interface click-throughs to assign the same credentials to the same user.
View the Teams list Copy linkLink copied!
The Teams page displays the existing teams for your installation. From here, you can search for a specific team, filter the list of teams by team name or organization, or change the sort order for the list.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- In the Search bar, enter an appropriate keyword for the team you want to search for and click the arrow icon.
- From the menu bar, you can sort the list of teams by using the arrows for Name and Organization to toggle your sorting preference.
- You can view team details by clicking a team Name on the Teams page.
- You can view organization details by clicking the link in the Organization column.
Create a team Copy linkLink copied!
Manage teams by creating them, assigning an organization, and adding users or administrators. Team members automatically inherit all assigned roles and permissions. Users must exist in the system before they can be added to a team.
Procedure Copy linkLink copied!
Assign users to a team Copy linkLink copied!
To assign a user to a team, the user must already have been created. For more information, see Creating a user. Assigning a user to a team adds them as a member only. Use the Roles tab to assign a role that gives users on the team resource access.
About this task Copy linkLink copied!
New user memberships to a team must be added at the platform level.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- Select the team to which you want to add users.
- Select the Users tab.
- Select one or more users from the list by clicking the checkbox next to the name to add them as members of this team.
- Click .
Remove users from a team Copy linkLink copied!
You can remove a user from a team from the Team list view.
Procedure Copy linkLink copied!
Assign administrators to a team Copy linkLink copied!
Assign existing users as administrators to a team so they can manage its membership and settings. This allows designated administrators to create new users and grant permissions within the team.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- Select the team to which you want to add an administrator.
- Select the Administrators tab and click .
- Select one or more users from the list by clicking the checkbox next to the name to add them as administrators of this team.
- Click .
Assign roles to a team Copy linkLink copied!
You can grant a team granular access to specific resources such as inventories, projects, and job templates by assigning the team roles associated with those particular resources. You can also set permissions at the level of the organization from the Organizations view.
About this task Copy linkLink copied!
Teams cannot be assigned to an organization through role assignment, nor can teams be assigned organization roles from the Teams view. Refer to the steps provided in Adding a team to an organization for detailed instructions on assigning a team to an organization.
Procedure Copy linkLink copied!
Remove roles from a team Copy linkLink copied!
Remove roles from a team to revoke access to specific Ansible Automation Platform resources. Updating these permissions helps ensure that team members only keep the necessary access for their tasks within the correct component context.
Procedure Copy linkLink copied!
Delete a team Copy linkLink copied!
Before you can delete a team, you must have team permissions. When you delete a team, the roles that users inherited from that team are revoked.
Procedure Copy linkLink copied!
- From the navigation panel, select .
- To remove a single team, click the minus icon - next to the team and confirm removal on the dialog that is displayed.
- To remove teams in bulk, select the checkbox next to each team that you want to remove, then click the ⋮ icon and select Delete team.