User Management

Create users, assign roles, manage access, and change passwords.

Restricted Access

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:

ColumnDescription
IDAuto-increment user ID
UsernameLogin username (unique). Your own row shows a "You" badge.
RoleColor-coded role badge (superadmin / manager / analyst / editor)
StatusActive (green) or Inactive (gray)
CreatedAccount creation date
ActionsEdit and Delete buttons
Users table
Screenshot: Users table with role badges, status indicators, and action buttons

Create a New User

  1. Click "+ Add User" above the table.
  2. 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
  3. Click Save.
Add user modal
Screenshot: Add/Edit user modal with username, password, role dropdown, and active checkbox
flowchart LR A[Superadmin] -->|Create User| B[Set Username + Password] B --> C[Assign Role] C --> D{Role} D -->|superadmin| E[Full access] D -->|manager| F[Content + Analytics] D -->|analyst| G[Analytics + Settings] D -->|editor| H[Content only] style A fill:#dc2626,color:#fff style E fill:#dc2626,color:#fff style F fill:#d97706,color:#fff style G fill:#2563eb,color:#fff style H fill:#16a34a,color:#fff

Edit a User

Click Edit on any user row to modify:

Role Change Restrictions

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.

Restrictions
  • 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).

  1. Enter your current password.
  2. Enter your new password.
  3. Click "Change Password".
Password Requirements

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.

RoleDescription
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)