docs/content/v2025.1/yugabyte-platform/administer-yugabyte-platform/anywhere-rbac.md
YugabyteDB Anywhere uses a role-based access control (RBAC) model to manage access to your YugabyteDB Anywhere instance (whether via the UI or the REST API). Using roles, you can enforce the principle of least privilege (PoLP) by ensuring that users have the precise permissions needed to fulfill their roles while mitigating the risk of unauthorized access or accidental breaches. A role defines a set of permissions that determine what features can be accessed by account users who have been assigned that role.
As a Super Admin or Admin, you can invite new users and manage existing users for your YugabyteDB Anywhere instance.
Users are assigned roles, which define the set of actions users can perform, and you can also define the set of universes to which the user has access. A user can interact with a YugabyteDB Anywhere instance via the UI or REST API.
YugabyteDB Anywhere includes built-in roles. You can also define custom roles for team members to restrict access to specific account features.
API tokens generated for users are assigned the same role as the user that generated them.
The following built-in roles are available:
Super Admin is the first user that is created during installation. This role has the highest level of privilege and allows all read and write actions on all YugabyteDB Anywhere resources. There can be only one Super Admin. Super Admin can perform the following:
For more information, see Create admin user.
Admin has privileges that are similar to the Super Admin, except that Admin cannot manage global scope artifacts and actions, such as runtime configuration settings and LDAP authentication.
Backup Admin has access to backup-related tasks, such as the following:
Backup Admin has view permissions for all other resources.
Read Only access level provides view permissions for the UI and API.
Connect Only access level allows users to sign in and access their user profile only. This role is assigned to users who are not explicitly assigned a role.
You can't delete or edit built-in roles.
Using fine-grained RBAC, you can assign built-in and custom roles to users to determine the actions they are allowed to perform, and specify the universes that they can access.
To create a user, do the following:
Navigate to Admin > Access Management > Users, and click Create User.
Enter the user's email.
Enter a password for the user to sign in with.
To assign a built-in role, under Built-in Role, click Assign New Built-in Role, and select a built-in role.
To assign a custom role, under Custom Role, click Assign New Custom Role, and select a custom role.
By default, users have access to all present and future universes.
To customize access to universes, assign at least one custom role, then click Edit Selection, and select the universes that you want to grant access for. Select the Include future universes option to automatically grant this user access to any universe created in the future. Click Confirm when you are done.
Click Add User.
To modify a user, do the following:
Navigate to Admin > Access Management > Users, click Actions for the user to modify, and choose Edit Assigned Roles.
To change the built-in role, under Built-in Role, change the role.
To add a built-in role, click Assign New Built-in Role.
To change the custom role, under Custom Role, change the existing role.
To add a custom role, click Assign New Custom Role.
To customize access to universes, assign at least one custom role, then click Edit Selection, and select the universes that you want to grant access for. Select the Include future universes option to automatically grant access to any universe created in the future. Click Confirm when you are done.
Click Edit User.
To delete a user, navigate to Admin > Access Management > Users, click Actions for the user to delete, and choose Delete User.
As a Super Admin or Admin, you can:
To create a custom role, do the following:
Navigate to Admin > Access Management > Roles and click Create Role.
Enter a name for the role.
Enter a description for the role.
Click Select Permissions.
Select the permissions to assign to the role and click Confirm when you are done.
Click Save.
To create a custom role from an existing role, do the following:
To edit a custom role, do the following:
To delete a role, navigate to Admin > Access Management > Roles, click Actions for the role to edit, and choose Edit Role.
To view the users that have been assigned a role, navigate to Admin > Access Management > Roles, click Actions for the role, and choose View Assigned Users.