Users
Create and manage users in Facets, generate personal access tokens, and configure user attributes like email, user group, and the derived default role.
This page describes how to create and manage users in Facets. Users are individuals who access and utilize the Facets platform. User is the central component of user management in Facets.
Prerequisites
Before you can manage users in Facets, you need the following:
- Access to the Settings area of the Facets Control Plane.
- Appropriate permissions to manage users, which may be tied to a specific role.
Use cases:
Creating a User
In the console, a user is created directly: you set the password as part of the form.
- Open Settings, and under User management in the left sidebar select Users.
- Click Create New User. The Create New User drawer opens.
- Enter the User email. This is the address used as the login username, and the field takes a single address.
- Set a Password and repeat it in Confirm Password. The password must be 8 to 20 characters and include at least one uppercase letter, one lowercase letter, one number, and one special character.
- Choose a Permission Assignment Method:
- Assign to User Group (recommended): select one or more entries under User group. When the selected group carries a base role, the resulting role is shown as Derived Default Role.
- Assign Direct Role: select a Default Role, and optionally the Accessible Environments for this user.
- Click Create User.
The CLI has a separate invite flow, which takes email addresses rather than a password and accepts more than one at a time:
raptor create user --emails alice@company.com,bob@company.com --group <USER_GROUP_ID>--group is optional there.
Generating an Authentication Token (Personal Token)
A personal access token is the password half of Facets' basic authentication. Use it for API calls and for raptor login.
- Sign in to the Control Plane and click your avatar to open the user menu.
- Select Personal access token. The Personal Access Tokens drawer opens and lists the tokens you have generated so far.
- Click Generate Token.
- In the Create Personal Access Token drawer, give the token a Token Name you will recognise later, add an optional Description, and click Generate Token.
- The token is copied to your clipboard automatically and shown once in a confirmation message. Store it in your secret manager before that message clears.
The token is shown only once and cannot be retrieved afterwards. If you lose it, generate a new one and delete the old entry. Delete a token you no longer need from the same drawer; applications using it will lose access to the Facets API. You can open the drawer directly at <your-control-plane-url>/v2/home#personal-access-tokens.
User Attributes
When creating a user, you can configure the following attributes:
- User email: A mandatory field, used as the user's login username.
- Password: Set in the Create New User drawer and repeated in Confirm Password.
- User group: Required when Permission Assignment Method is Assign to User Group. Accepts more than one group.
- Default Role: Selected directly when Permission Assignment Method is Assign Direct Role. Under Assign to User Group it is instead derived from the selected group(s) and shown as Derived Default Role. It sets the basic, CP-wide access level for the user.
FAQs
- What should I do if I lose my personal access token? You will need to generate a new personal access token as the previous one is not recoverable.
- How can a user be removed from Facets? Click on the Delete action button for that particular user to remove access.
- How to update permissions of an existing user? Create a new role with the updated permissions if it doesn't exist already, create a user group using this role and assign this new user group to the user.
- How to provide access for a new project environment to existing users? Create a new user group that grants access to the new project or environment, with the appropriate default and environment-specific roles, then assign that user group to the existing users.
RBAC
Facets role-based access control explained: permissions, roles, resource groups, and user groups, plus the recommended flow for least-privilege access.
User Roles
System-defined roles in Facets (Admin, Developer, Environment Admin, Viewer, Guest), plus custom roles, role cloning, Kubernetes roles, and the Access Analyser.