// CONTENTS Part 07 · People and access

// PART 07

RBAC

Chapter 31 / 60 3 min read English Part 07 of 15

Role-based access control is enforced at three server-side points, and none of them is the prompt. This page lists the built-in roles and where enforcement actually happens.

Built-in system roles

Administrative roles

Role Description Typical use
Global Administrator full system control IT director
Billing Administrator subscription & payments finance
Compliance Administrator audit, DLP, retention legal/compliance
Security Administrator threats, access policies security team
User Administrator user & group management HR, IT helpdesk
Groups Administrator group management only team leads
Helpdesk Administrator password resets, support IT support

Service-specific admin roles

Role Manages
Mail Administrator mailboxes, mail flow, distribution lists
Drive Administrator file storage, sharing policies, quotas
Meet & Chat Administrator video meetings, chat settings
Knowledge Administrator knowledge base, document libraries

End-user roles

Role Description Best for
Power User full productivity + automation developers, analysts
Standard User normal productivity access regular employees
Guest User limited external access partners, contractors
Viewer read-only access auditors, observers

Permission categories

Permissions follow resource.action and group into families:

  • Administration (admin.*) — organization settings, users, groups, roles, DNS and domains.
  • Compliance (compliance.*) — audit logs, compliance policies, DLP, retention, e-discovery.
  • Security (security.*) — security settings, threat management, API keys and secrets.
  • Productivity apps — per-app families (mail.*, drive.*, docs.*, meet.*, chat.*, tasks.*, calendar.*).

How RBAC is enforced in this product

Three enforcement points, all server-side:

  1. Route catalogue. Every route declares its read/write permission; the /metrics and /api/metrics endpoints, for example, are listed as read-only GET permissions and require a Bearer token.
  2. Command catalog filtering. Admin-only capabilities are marked admin_only: true on the command (or a row in rbac_api_permissions for endpoint prefixes). The catalog filters admin-only entries for non-admin users via resolve_user_role — the injected manifest shortens per role, and the executor enforces the same rule server-side.
  3. Role resolution. resolve_user_role checks rbac_user_groups → a group whose name contains “admin” resolves to administrator; the user must exist in users with the derived id. In bot scripts, the role scope variable lets start.bas gate admin-only suggestions and tools (IF role = "admin" THEN … END IF), and tool_exec only runs tools associated with the session.

Operating rules

  • Add people to groups; let group membership carry the role. Direct per-user grants do not survive an access review.
  • Any new admin-only endpoint must be registered in the RBAC permission catalogue in the same change — a catalog entry is the enforcement, not documentation.
  • The browser policy surface (GET|PUT /api/browser/policy) is restricted to the platform admin (is_super_admin).
  • Test authorization changes with a non-admin account before shipping; the tenant-isolation suite covers data scoping, not menu visibility.

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move