User Management
The User Management screen (Admin → User Management, /admin/users) lists all user accounts
and is where local accounts are created and edited.
| Permission | What it grants |
|---|---|
|
Open the screen and browse the list |
|
The New User button and the edit action on each row |
With only USER_VIEW the list is read-only — no create, no edit.
1. The user list
| Column | Notes |
|---|---|
First Name / Last Name |
Sortable |
Sortable |
|
Username |
The login name. Sortable |
Roles |
Comma-separated list of assigned roles |
Created |
Account creation timestamp, in your local timezone |
Disabled |
|
Locked |
|
✏️ |
Edit (only with |
The Search box filters across first name, last name, e-mail, and username as you type. It does not search roles.
2. Creating and editing a user
New User and the edit icon both open the same form.
| Field | Required | Notes |
|---|---|---|
First Name |
Yes |
|
Last Name |
Yes |
|
Yes |
Used to send the link for a forgotten password |
|
Username |
Yes |
The login name |
Password / Repeat Password |
Yes, on creation only |
Hidden when editing — see below |
Roles |
At least one |
Checkbox list of all defined roles. A new user is pre-checked with |
User disabled |
— |
See below |
User locked |
— |
See below |
Passwords are stored as BCrypt hashes, never in plain text.
Password rules
Enforced when you create an account or set a new password:
-
At least 10 characters
-
Must contain at least one digit or special character — letters alone are rejected
-
Both password fields must match
Setting a new password for a user
When you edit an existing account, the fields are called New Password and Repeat Password.
-
Leave both empty to keep the user’s current password.
-
Fill in both to give the user a new password. The same rules apply as for new users. You see "User saved. The new password applies from the next login."
-
The platform sends no mail about it. Tell the user the new password yourself, and ask them to change it under Profile → Change Password.
-
The user’s API tokens keep working.
The fields are shown only for accounts that log in with a password. Accounts that log in only through your company login (SSO) have no password here, so the fields are hidden for them. Giving them a password would open a second way in that your company login does not control.
Other ways to a new password:
-
Users change their own password under Profile → Change Password (requires
PROFILE_EDIT). -
Users who forgot their password use Forgot password on the login page. It sends a reset link to the account’s e-mail address. It is offered only when a mail server and the Platform URL are set up under Admin → Mail Server. See Profile and Password Reset.
API tokens of a user
When you edit an existing user, the form also lists the user’s API Tokens (name, start of the token, created, expires, last used, status). You can Revoke a token here, for example one that has leaked. It stops working immediately; the user’s account is not affected. You cannot create tokens for another user — users create their own on the Profile page.
3. Disabled vs. Locked
Two independent flags, both shown as columns in the list:
| Flag | Meaning |
|---|---|
User disabled |
The account is deactivated — use this for people who have left or should no longer have access |
User locked |
The account is locked — the conventional use is a temporary block, e.g. after suspicious activity |
Either flag blocks login, use of the REST API with the user’s API tokens, and Forgot password. They are separate switches, so an account can be both. To restore access, clear the flag and save.
Prefer disabling over deleting. There is deliberately no delete action on this screen — user records are referenced by chat sessions and metric events, so deactivating keeps that history intact and consistent.
4. The initial admin account
A fresh installation is seeded with one account:
| Username | Password | Role |
|---|---|---|
|
|
|
Change this password immediately after the first login, via Profile → Change Password. The
account is created with the e-mail address admin@cyrock.ai. Change it under Profile → Email to
an address you read, so Forgot password can reach you. Since an administrator cannot reset another
user’s password from this screen, also create a second account with the ADMIN role as a fallback —
if you lose access to the only administrator account and Forgot password is not set up, the
remaining route is direct database access.
5. SSO users
When OIDC single sign-on is enabled, accounts are created automatically on first login and appear in this list alongside local accounts. Two things behave differently for them:
-
The username is derived from the e-mail address (or from the OIDC subject if no e-mail is provided), so it may look unusual.
-
Roles are overwritten on every login whenever a matching group mapping exists. Editing the roles of an SSO user here is therefore temporary — the next login resets them. Change the mapping instead, under Admin → OIDC Settings.
See OIDC Settings for details.
6. Troubleshooting
| Symptom | Cause and fix |
|---|---|
New User button missing |
Your role lacks |
No edit icon on the rows |
Same — |
Password rejected on creation |
Minimum 10 characters and at least one digit or special character |
Cannot find the password fields when editing |
The account logs in only through SSO and has no password. For accounts with a password, the fields are New Password and Repeat Password |
Save rejected with "At least one role required" |
Check at least one role |
A user logs in but sees an empty navigation menu |
Their role grants no view permissions. Check the role under Admin → Roles & Permissions |
A user cannot log in at all |
Check the Disabled and Locked columns |
An SSO user’s roles keep reverting |
Expected — OIDC role sync overwrites them on each login. Adjust the mapping under OIDC Settings |
No way to delete a user |
Intentional. Set User disabled instead, to keep chat and metric history consistent |
Search does not find someone by role |
The filter covers name, e-mail, and username only. Sort by the Roles column instead |
Related
-
Roles & Permissions — what the assigned roles actually allow
-
OIDC Settings — SSO login and automatic role assignment
-
Profile and Password Reset — own password, API tokens and "Forgot password"