Manage Users
View, edit, and delete user accounts with role assignments and token usage.
User Table Operations
Viewing Users
The user table displays all accounts with sortable columns. Click any column header (User, Email, Role, LLM Tokens, Search Tokens) to sort ascending/descending.
Filtering Users
- Search: Type in the search field to filter by name or email
- Role Filter: Select a role from the dropdown to show only users with that role
User Information Displayed
- User: Name (shows "No name set" if empty)
- Email: User's email address in small muted text
- Role: Current role assignment as an outlined badge
- LLM Tokens: Token usage/limit display (e.g., "1,234 / 10,000")
- Search Tokens: Search-specific token usage/limit
User Actions
Opening User Details
Click any table row to open the user management dialog with complete user information and editing options.
Quick Actions Menu
Click the three-dot menu in the Actions column for:
- View/Edit: Opens user detail dialog
- Delete user: Removes user account (requires confirmation)
User Detail Dialog
User Information Management
Edit Name: Click the edit icon next to the user's name, modify text, press Enter to save or Escape to cancel.
Edit Email: Click the edit icon next to the email address, modify text, press Enter to save or Escape to cancel.
Change Role: Select a new role from the dropdown. Role changes require confirmation and show impact warnings.
Token Limit Management
LLM Token Limits:
- View current usage and limit in the Token Management card
- Adjust the limit using the number input
- Click "Save Token Limit" to apply changes
- Use "Reset Tokens" to clear current usage
Search Token Limits:
- View current search token usage in the Search Token Management card
- Adjust limits using the number input
- Click "Save Search Token Limit" to apply
- Use "Reset Search Tokens" to clear usage
Token Usage Analytics
The Token Usage Chart shows historical consumption patterns over time for the selected user.
User Deletion
The Delete User card allows permanent account removal:
- Click "Delete User" button
- Confirm the action in the warning dialog
- User account and all associated data will be permanently removed
User Creation
Adding New Users
Click "Add User" or "Register User" button to open the user creation dialog:
- Enter user's email address
- Set initial password
- Assign role from dropdown
- Optionally set token limits
- Click "Create User" to send invitation
User Registration Process
New users receive an email invitation with login credentials and must complete account setup on first login.
Role Assignment Rules
Role Change Confirmations
Changing user roles triggers confirmation dialogs that explain:
- Current permissions being removed
- New permissions being granted
- Impact on user's access to features
Role Hierarchy
- Admin: Full system access (cannot modify other admin accounts)
- Custom Roles: Permissions defined in Role Management section
- Default Roles: Standard user permissions