Managing Users
Administrator guide for user management in multi-user mode.
Accessing the Admin Panel
- Log in with admin credentials
- Click the admin icon (shield) in the top-right corner
- Select "Admin Panel" from the dropdown
The Admin Panel provides access to:
- User Management
- Session Monitoring
- System API Keys
- User Statistics
Creating Users
Via Admin Panel
- Open Admin Panel
- Click "Create User" button
- Enter user details:
- Username: 3-50 characters, unique
- Display Name: User's full name
- Email: Optional, for contact purposes
- Password: Minimum 6 characters
- Admin Role: Check to grant admin privileges
- Click "Create"
New users can log in immediately with provided credentials.
Via Registration (If Enabled)
When ALLOW_REGISTRATION=true:
- Users visit
/registerpage - Fill out registration form
- System creates regular user account
- Admin can upgrade to admin role if needed
Security Note: Disable registration after initial setup:
ALLOW_REGISTRATION=false
Viewing Users
The Admin Panel displays all users with:
- Username and display name
- Email address
- Admin status badge
- Account creation date
- Statistics:
- Number of personas
- Active sessions
- Configured API keys
Users are sorted by creation date (newest first).
Editing Users
- Open Admin Panel
- Find user in list
- Click edit icon
- Modify fields:
- Display Name
- Admin Role (check/uncheck)
- Password (leave blank to keep current)
- Click "Save"
Changes take effect immediately. Active sessions remain valid.
Granting Admin Access
To promote a user to administrator:
- Edit the user
- Check "Admin" checkbox
- Save changes
The user gains admin privileges on next request.
Changing Passwords
As an administrator, you can reset any user's password:
- Edit the user
- Enter new password
- Save changes
The user must log in with the new password. Existing sessions are not automatically revoked.
Best Practice: Revoke existing sessions after password reset:
- Navigate to Sessions tab in Admin Panel
- Find user's sessions
- Revoke all sessions
Deleting Users
Delete Process
- Open Admin Panel
- Find user in list
- Click delete icon
- Confirm deletion
What Gets Deleted
User deletion cascades to:
- All user sessions (logged out immediately)
- All user-owned personas
- All user API keys
- Related ontologies
- Related annotations
Restrictions
- Users cannot delete themselves
- Deletion is permanent and cannot be undone
- Consider exporting user data before deletion
Alternative: Disable Instead of Delete
If you want to preserve data:
- Reset user password to random string
- Revoke all sessions
- Do not delete the account
This prevents login while preserving personas and annotations.
User Statistics
The Admin Panel shows counts for each user:
Personas Count
Number of personas created by the user. Deleting the user deletes all their personas.
Sessions Count
Number of active sessions. Multiple sessions indicate:
- Multiple devices
- Multiple browser windows
- Sessions not yet expired
API Keys Count
Number of configured API keys. User keys override system keys for model service requests.
Managing Sessions
See Session Management for detailed session administration.
Quick actions:
- View all active sessions
- Filter by user
- Revoke suspicious sessions
- Monitor session activity
Best Practices
User Onboarding
- Create user account with temporary password
- Share credentials securely (not via email)
- User changes password on first login
- User configures display name and email
- User adds personal API keys if needed
Regular Maintenance
- Review user list monthly
- Remove accounts for departed team members
- Audit admin role assignments
- Monitor session activity for anomalies
Security Guidelines
- Use strong passwords (consider requiring password managers)
- Limit admin role to essential personnel
- Enable 2FA if available (future feature)
- Regular password rotations for shared accounts
- Immediate revocation upon security concerns
Managing Departures
When a team member leaves:
- Immediate: Revoke all sessions
- Review: Check personas for sensitive data
- Reassign: Transfer critical personas to another user (manual process)
- Export: Export user's annotations if needed
- Delete: Remove user account
Troubleshooting
Cannot Create User
Problem: "Username already exists"
Solution: Choose a different username. Usernames must be unique across all users.
Problem: "Admin access required"
Solution: Verify you are logged in as an administrator. Check the admin badge in the user menu.
User Cannot Log In After Creation
Problem: New user reports invalid credentials
Solution:
- Verify username spelling
- Check password was communicated correctly
- Try resetting password via Admin Panel
- Check server logs for authentication errors
Password Reset Not Working
Problem: User still cannot log in after password reset
Solution:
- Ensure password meets minimum length (6 characters)
- Check for trailing spaces in password
- Revoke all sessions and have user try again
- Check database connectivity
API Reference
For programmatic user management, see:
- Authentication API Reference
- User Management endpoints (
/api/admin/users/*)