Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Admin vs User Views

The General Bots Suite separates functionality into two distinct interfaces: the User View for personal productivity and the Admin View for organization management. This separation ensures users only see features relevant to their role while administrators have access to system-wide controls.

Overview

ViewAccessPurpose
User ViewAll authenticated usersPersonal settings, files, tasks, calendar
Admin ViewUsers with admin roleOrganization management, user provisioning, DNS

User View

The User View is the default interface for all authenticated users. It provides access to personal productivity tools and settings.

Accessing User Settings

  1. Click your avatar in the top-right corner
  2. Select Settings

User Settings Sections

Profile

  • Display name and avatar
  • Email address
  • Language and timezone

Security

  • Change password
  • Two-factor authentication (2FA)
  • Active sessions management
  • Trusted devices

Appearance

  • Theme selection (dark, light, blue, purple, green, orange)
  • Accent color
  • Font size preferences

Notifications

  • Email notification preferences
  • Desktop alerts
  • Sound settings

Storage

  • View storage quota usage
  • Manage connected storage providers
  • Clear cache

Integrations

  • API keys for external access
  • Webhook configurations
  • Connected OAuth providers

Privacy

  • Data visibility settings
  • Online status preferences
  • Data export and account deletion

User API Endpoints

All user endpoints use the /api/user/ prefix:

EndpointMethodDescription
/api/user/profileGET, PUTUser profile data
/api/user/passwordPOSTChange password
/api/user/security/2fa/statusGET2FA status
/api/user/security/2fa/enablePOSTEnable 2FA
/api/user/security/sessionsGETActive sessions
/api/user/notifications/preferencesGET, PUTNotification settings
/api/user/storageGETStorage quota
/api/user/api-keysGET, POST, DELETEAPI key management
/api/user/webhooksGET, POST, DELETEWebhook management
/api/user/data/exportPOSTRequest data export

Admin View

The Admin View provides organization-wide management capabilities. Access requires the admin role.

Accessing Admin Panel

  1. Click your avatar in the top-right corner
  2. Select Admin Panel

If you don’t see “Admin Panel”, you don’t have administrator privileges.

Admin Panel Sections

Dashboard

  • Quick statistics (users, groups, bots, storage)
  • System health overview
  • Recent activity feed
  • Quick action buttons

Users

  • View all organization users
  • Create new users
  • Edit user details and roles
  • Disable or delete accounts
  • Reset user passwords

Groups

  • Create and manage groups
  • Assign users to groups
  • Set group permissions
  • Manage group invitations

Bots

  • View deployed bots
  • Bot configuration management
  • Usage statistics per bot

DNS

  • Register custom hostnames
  • Manage DNS records
  • SSL certificate status

Audit Log

  • View all system events
  • Filter by user, action, or date
  • Export audit reports

Organization Billing (Admin-level)

  • Organization subscription status
  • Usage across all users
  • Payment methods for organization
  • Invoice history

Admin API Endpoints

All admin endpoints use the /api/admin/ prefix and require admin role:

EndpointMethodDescription
/api/admin/dashboardGETDashboard statistics
/api/admin/usersGET, POSTList/create users
/api/admin/users/:idGET, PUT, DELETEManage specific user
/api/admin/groupsGET, POSTList/create groups
/api/admin/groups/:idGET, PUT, DELETEManage specific group
/api/admin/botsGETList organization bots
/api/admin/dnsGET, POST, DELETEDNS management
/api/admin/auditGETAudit log entries
/api/admin/stats/*GETVarious statistics
/api/admin/healthGETSystem health status
/api/admin/activity/recentGETRecent activity feed

Permission Levels

The system uses role-based access control (RBAC):

RoleUser ViewAdmin ViewDescription
guestLimitedRead-only chat access
userStandard user features
managerPartialCan view monitoring
adminFull system access

Checking User Role

In BASIC scripts, check the user’s role:

role = user.role

IF role = "admin" THEN
    TALK "Welcome, administrator!"
ELSE
    TALK "Welcome, " + user.name
END IF

Desktop App Considerations

When running the Suite as a desktop application (via Tauri), additional features become available:

Desktop-Only Features

  • Local file system access
  • Rclone-based file synchronization
  • System tray integration
  • Native notifications

Sync Feature The desktop app can sync local folders with cloud Drive using rclone:

  1. Configure remote in Settings → Storage → Sync
  2. Select local folder to sync
  3. Start/stop sync from Drive sidebar

Note: Sync controls (/files/sync/start, /files/sync/stop) communicate with the local rclone process on the desktop. These features are not available in the web-only version.

Security Best Practices

For Users

  • Enable 2FA on your account
  • Review active sessions regularly
  • Use strong, unique passwords
  • Revoke unused API keys

For Administrators

  • Follow principle of least privilege
  • Review audit logs regularly
  • Rotate service account credentials
  • Monitor for unusual activity
  • Keep user list current (remove departed employees)