User Management
Create users, assign roles, manage access, and change passwords.
User management (create, edit, delete users) is available only to superadmin. All authenticated users can change their own password.
Users Table
The Users page displays all registered users in a table:
| Column | Description |
|---|---|
| ID | Auto-increment user ID |
| Username | Login username (unique). Your own row shows a "You" badge. |
| Role | Color-coded role badge (superadmin / manager / analyst / editor) |
| Status | Active (green) or Inactive (gray) |
| Created | Account creation date |
| Actions | Edit and Delete buttons |
Create a New User
- Click "+ Add User" above the table.
- Fill in the form:
- Username — must be unique
- Password — will be hashed with bcrypt (max 72 bytes)
- Role — select from superadmin, manager, analyst, editor
- Active — checkbox to enable/disable the account
- Click Save.
Edit a User
Click Edit on any user row to modify:
- Username — can be changed
- Password — leave blank to keep current password, or enter a new one
- Role — change the user's access level
- Active — deactivate the account without deleting it
Only superadmin users can change roles. Non-superadmin users editing their own profile cannot change their role.
Delete a User
Click Delete to permanently remove a user account.
- You cannot delete your own account — the delete button is disabled on your own row.
- Deletion is permanent and cannot be undone.
Change My Password
All authenticated users can change their own password using the "Change My Password" card, which is always visible at the bottom of the Users page (or accessible from the profile).
- Enter your current password.
- Enter your new password.
- Click "Change Password".
Passwords are hashed with bcrypt, which imposes a maximum of 72 bytes. There is no minimum length enforced by default, but strong passwords are recommended.
Available Roles
See Roles & Permissions for a complete access matrix.
| Role | Description |
|---|---|
| superadmin | Full system access — users, schemas, activity log, VectorDB viewer, plus all content and analytics |
| manager | Content management (knowledge, pricing, specs) + all analytics + settings + debug |
| analyst | Analytics pages + settings + debug (no content editing) |
| editor | Content management only (knowledge, pricing, specs) |