-
Permissions grant a user the ability to perform a given action; for example the
use_case:adaptpermission allows a user to fine-tune models. See List of all permissions. -
Roles are named sets of permissions, which you can directly assign to users, or set as default for new users added to a team.
There are several default roles available in Adaptive Engine, but you can also create your own roles with
client.roles.create(). You can change a user’s role withclient.users.update(). -
Teams are groups of users that have access to use cases owned by their group, and all their associated resources -
such as interactions, evaluation/training jobs, and attached models. User A must be in team X to see and interact with team X’s use cases and resources.
You can create a new team with
client.teams.create(), and add a user to a team withclient.users.update().
admin team in every Adaptive Engine deployment; members of the admin teams that are
assigned admin or platform_admin role are the only users who can perform a set of global operations - namely creating new roles,
teams, and adding/removing users to/from any team. You can specify the emails of seed admin user(s) in the values.yaml files of the
Adaptive Helm chart, as well as the default role and team that new users will be assigned on first sign up (see below).
This can later be changed by an admin user with client.users.update().
Useful snippets
- Create a new user
- Add user to team
- Remove user from team
- Create a new team
- Create a new role
List of all permissions
In each resource category tab, you will find the permission key, followed by a description of its scope.- admin
- dataset
- metric
- model
- team
- use_case
admin:manage_roles- list all roles (user can be in any team)
- create new role (user must be in
adminteam)
admin:manage_teams- list all teams (user can be in any team)
- create new team (user must be in
adminteam).
admin:manage_users- list all users (user can in any team), update user team/role (only for users in same team)
- global update user/team role (user must be in
adminteam)
Default roles
- Admin
- Platform Admin
- Power User
- Read Only
- Inference
- Annotator
Role key:
adminA user with Admin role is granted all permissions. It can be assigned to users in any team.
However, an Admin user is only able to create teams or roles if the user is also in the admin team.
