Permissions & Security
ProcessWireConsole ships 9 granular RBAC permissions so you can grant operators read/manage access to specific operational panels without handing out full superuser rights.
All 9 RBAC Permissions
Section titled “All 9 RBAC Permissions”| Constant | Permission Name | Granted Section & Scope |
|---|---|---|
PERMISSION_VIEW |
wire-console |
Access Setup -> Console and the Overview section. |
PERMISSION_MIGRATIONS |
wire-console-migrations |
Access Migrations section and inspect site/migrations/. |
PERMISSION_QUEUES |
wire-console-queues |
Access Queues section and inspect site/queue/. |
PERMISSION_SEEDING |
wire-console-seeding |
Access Seeding section and inspect site/seeders/. |
PERMISSION_SCHEDULING |
wire-console-scheduling |
Access Scheduling section and inspect site/schedule/. |
PERMISSION_BACKUP |
wire-console-backup |
View Backups section (downloading/previewing/restoring .sql dumps strictly requires superuser). |
PERMISSION_TESTING |
wire-console-testing |
Access Testing section and inspect tests/, site/tests/, and tests/e2e/. |
PERMISSION_BOOST |
wire-console-boost |
Access Boost & AI section and inspect .agents/. |
PERMISSION_LOGS |
wire-console-logs |
Access Logs & Audit section and inspect log channels. |
If a user opens a section URL they lack permission for, ConsoleRuntime::buildWorkspacePayload() automatically falls back to 'overview' and omits restricted section data from the Inertia payload.
Defense-in-Depth Safeguards
Section titled “Defense-in-Depth Safeguards”- Superuser-Only SQL Downloads & Restores:
___executeDownloadBackup()andinspectProjectFile('backup', ...)throwWirePermissionExceptionfor non-superusers or whenever$config->demois active. - Request Body Bounds:
MAX_JSON_BODY_BYTES = 65536(64 KB),MAX_JSON_DEPTH = 16,MAX_JSON_ELEMENTS = 256on./action/(and512elements on queue/MCP JSON argument payloads). - Per-Session Cooldowns (
checkRateLimit()): Mutating operational actions enforce per-session cooldown windows to prevent accidental double-triggers or abuse. - Confirmation Words (
ConfirmDialog): Destructive actions (migration reset/refresh/fresh, queue purge, backup restore, log clearing) require explicit confirmation acknowledgment. - Audit Trail (
ConsoleRuntime::LOG_CHANNEL = 'wire-console-audit'): Every executed action writes a structured JSON audit record with recursive redaction of secrets, tokens, and passwords.