CURRENT CANONICAL BASELINE
Version: v39
Status: documentation expansion package
Next planned package: v40

# Super Admin and Platform Governance Plan

## Current phase note
- v39.1 formalizes the platform-level control plane for Super Admin, governance, support operations, and system-wide configuration.

## Purpose
This document defines the Super Admin architecture for Dispatch Spot so platform operators can control tenants, users, roles, billing states, schema dictionaries, feature access, support actions, and security oversight without weakening tenant isolation.

## Governing Principle
Super Admin controls the platform.
Workspace Admin controls only their workspace.

## Super Admin Responsibilities
- platform-wide workspace management
- platform-wide user management
- role and permission governance
- subscription and billing oversight
- schema and dictionary management
- feature flag management
- support and impersonation tooling
- audit and security review
- system health visibility

## Workspace Admin Boundary
Workspace Admin should manage:
- workspace users within allowed limits
- local preferences and configurations
- operational records for that workspace
- workspace-level reporting and workflows

Workspace Admin should not control:
- platform role definitions
- global schema dictionaries unless explicitly delegated
- system-wide feature rollouts
- billing overrides beyond allowed self-service controls

## Super Admin Control Domains
### Workspaces
- create workspace
- suspend workspace
- reactivate workspace
- delete workspace under policy
- change plan
- transfer ownership
- lock workspace for review
- view usage and entitlement state

### Users
- search any user
- activate or deactivate user
- revoke sessions
- resend invite
- reset MFA state
- inspect membership and security history
- remove membership from workspace

### Roles and Permissions
- create and edit system roles
- retire roles
- manage permission bundles
- define which roles Workspace Admin may assign
- review permission change history

### Schema Registry and Controlled Values
Super Admin should manage controlled lists such as:
- CRM stages
- CRM statuses
- accessorial items
- expense categories
- equipment classes
- document types
- notification event definitions
- lifecycle and deactivation reasons

### Feature and Release Controls
- feature flags
- beta access controls
- staged rollouts
- maintenance toggles
- emergency disable controls

### Support and Operations
- secure impersonation
- support notes
- email delivery inspection
- notification replay tools
- integration failure visibility

### Security and Audit
- immutable admin action log
- security event review
- failed login visibility
- elevated-access change history
- impersonation history

## Schema Governance Rules
Dictionary-backed items must support:
- active vs inactive state
- sort order
- system-protected values
- usage-aware archival instead of unsafe deletion
- audit log of before and after changes

## Recommended Admin UI Modules
- Dashboard
- Workspaces
- Users
- Roles and Permissions
- Billing and Subscriptions
- Feature Flags
- Schema Registry
- Notifications
- Audit Logs
- Security Events
- Support Tools
- System Health

## High-Priority Early Super Admin Capabilities
- workspace search and control
- user search and lifecycle control
- role and permission management
- CRM stage management
- accessorial management
- expense category management
- trial extension and billing override
- email delivery monitoring
- secure impersonation

## Build Rule Going Forward
Any new platform-level administrative capability must respect tenant isolation, action auditability, and least-privilege permission design.
