Admin vs User Views π‘ BETA
What it is. Two scopes of the same suite: Settings for the signed-in person, Admin Panel for organisation-wide administration. Both are windows in the shell; the difference is the data they can read and change.
Open it. The launcher lists Settings and Admin where the product exposes them. A role without admin rights does not get the admin window.
Do this. Change personal preferences in Settings. Use Admin only for users, groups, billing and system health.
Overview
| View | Who uses it | Authority |
|---|---|---|
| Settings | The signed-in person | /api/settings/*, /api/user/* |
| Admin Panel | An administrator | /api/admin/* |
User View
Accessing User Settings
- Open the shell.
- Choose Settings from the launcher or sidebar.
- Select a section in the settings navigation.
User Settings Sections
The locale catalog lists General, Account, Profile, Notifications, Privacy, Security, Language and Theme. Actions include Save Changes, Change Password, Create API Key and Add Webhook.
User API Endpoints
| Endpoint | Use |
|---|---|
/api/user/profile |
Personal profile |
/api/user/password |
Own password |
/api/user/api-keys |
Personal API keys |
/api/settings |
Personal settings |
/api/settings/security/* |
Security preferences |
The generated REST reference is the full list; do not invent a user endpoint that is not there.
Admin View
Accessing Admin Panel
Open Admin from the launcher. The shell only offers it to an account with the admin role.
Admin Panel Sections
botui/ui/suite/admin/ contains the dashboard, accounts, contacts, groups, DNS, billing and compliance surfaces. The dashboard reports users, bots, groups, storage and health.
Admin API Endpoints
| Endpoint | Use |
|---|---|
/api/admin/users |
User administration |
/api/admin/groups |
Group administration |
/api/admin/health |
Health summary |
/api/admin/audit |
Audit log |
/api/admin/dns |
DNS records |
Permission Levels
| Scope | Typical holder | Effect |
|---|---|---|
| User | Any signed-in person | Own profile, own settings |
| Admin | Member of an admin group | Organisation-wide administration |
Checking User Role
Role resolution reads group membership, not a page flag. If a role check fails, the admin endpoint refuses the request even when the window is visible.
Desktop App Considerations
The desktop shell uses the same windows as the browser suite. Theme and language follow the identity tokens; the admin window does not introduce a separate colour palette.
Security Best Practices
- Keep credentials in Vault, not in
config.csvor a document. - Grant admin membership only where needed.
- Use the audit view to check changes.
- Do not expose admin endpoints through a public bot.