Manage dashboard users, roles, permissions, and access control for your AgenticMail Enterprise instance.
For everyone: The Users page is where you manage who can access your AgenticMail Enterprise dashboard and what they can see and do. Think of it as the "guest list" for your control center — you decide who gets in, what rooms they can enter, and which agents they can interact with.
For technical users: This page implements a full RBAC (Role-Based Access Control) system with page-level and tab-level permission granularity, per-user agent access restrictions, client organization scoping, and a multi-step destructive action workflow. The backend exposes /users, /users/:id/permissions, /page-registry, and /organizations API endpoints.
The backend maintains a registry of all dashboard pages and their tabs. This registry is fetched via GET /page-registry and used by the Permission Editor to generate the access control UI. Pages are organized into three sections:
| Section | Description |
|---|---|
| Overview | Dashboard home, analytics, and monitoring pages |
| Management | Agent management, email, tools, and operational pages |
| Administration | Users, vault, compliance, DLP, and system settings |
Permissions are stored as a JSON object or the string "*" for full access:
// Full access
"*"
// Granular access — page IDs as keys, true or tab array as values
{
"agents": true, // All tabs on agents page
"vault": ["secrets", "audit"], // Only secrets and audit tabs
"_allowedAgents": ["agent-id-1", "agent-id-2"] // Specific agents only
}
| Role | Access Level | Permissions Configurable? | Notes |
|---|---|---|---|
| Owner | Full | No — always full | Cannot be restricted. Can impersonate other users. |
| Admin | Full | No — always full | Cannot be restricted. Full administrative access. |
| Member | Configurable | Yes | Can view and act on assigned pages/tabs. |
| Viewer | Configurable (read-only) | Yes | Can view but not modify. |
The Permission Editor (shield icon) opens a modal where you can configure:
The editor also shows an inline permission picker when creating new users with Member or Viewer roles, so you can set permissions before the user is created.
Beyond page/tab permissions, you can control which agents a user can see:
If your deployment uses multi-tenancy with client organizations:
Click "Add User" and fill in name, email, initial password (or generate one), and role. For Member/Viewer roles, you can customize permissions inline before creating.
Click the edit icon to change a user's name, role, or organization. Email cannot be changed after creation.
Click the lock icon to set a new password. If the user has 2FA enabled, the password reset will not affect their TOTP setup.
Owners can click the impersonate icon to view the dashboard as another user, seeing exactly what they see based on their permissions. Useful for debugging access issues.
| Action | Reversible? | Effect |
|---|---|---|
| Deactivate | Yes | Blocks login. All data preserved. User sees "contact your organization" message. |
| Delete | No | Permanently removes user, sessions, API keys, permissions, and 2FA config. |
| Method | Endpoint | Description |
|---|---|---|
| GET | /users | List all users |
| POST | /users | Create a new user |
| PATCH | /users/:id | Update user (name, role, clientOrgId) |
| DELETE | /users/:id | Permanently delete user (requires confirmation token) |
| GET | /users/:id/permissions | Get user permissions |
| PUT | /users/:id/permissions | Update user permissions |
| POST | /users/:id/reset-password | Reset user password |
| POST | /users/:id/deactivate | Deactivate user |
| POST | /users/:id/reactivate | Reactivate user |
| GET | /page-registry | Get page/tab registry for permission editor |
| GET | /organizations | List client organizations |
The users table displays: Name, Email, Role, Organization, Status (Active/Deactivated), Access (Full or page count), 2FA (On/Off), Created date, and Actions.
Check their role and permissions. If they're a Member or Viewer, click the shield icon to verify which pages are granted. Remember that Owner and Admin roles always have full access.
The agent access control may be set to specific agents with none selected. Open the Permission Editor and either check "All Agents" or select specific agents.
The user is bound to a client organization. Edit the user and change their organization to "None (Internal User)" to unlock it.
Ensure you're sending the correct confirmation token: DELETE_USER_{email}. Only Owners can delete users, and you cannot delete yourself.
The user may need to refresh their browser or log out and back in for permission changes to take effect.
This is by design — resetting a password does not disable two-factor authentication. The user's TOTP setup is preserved.