Skip to content

The console

/admin. A session without a role from plugins.admin.adminRoles gets a 404 — the console does not advertise itself.

Manage Overview · Users · Organizations · Sessions
Observe Events
Configure Settings · Configuration · API keys · Security
Page What it does
Overview counts, a 14-day signup series, live health, recent and failed admin actions
Users filters (verified, unverified, banned, admin), sorting, bulk ban, detail drawer
Organizations every workspace with owner and member count; drill-in shows members, roles, invitations
Sessions every session on the instance, impersonations flagged, revoke per user
Events every admin mutation with actor, target and outcome
Settings edits the config file — branding, sessions, email, organization limits
Configuration what the running process resolved, and where the deployment is not production-ready
API keys create and revoke keys the apiKey plugin issues
Security BASE_URL, trusted origins, cookie domain, database schema, search_path

It does not create organizations. An admin dashboard does not create tenants; that is the customer’s flow, through create-organization in their own app. The console lists, inspects and administers organizations — it does not seed them.

It does not manage your users’ passwords directly. Resets go through the normal flow so the audit trail stays honest.

It refuses to modify your own account. Ban, delete and role changes are blocked against the acting administrator, because locking yourself out is never the intent.

  • Every /api/admin/* call re-reads the session and re-checks the role. The route guard is a convenience; the API is the control.
  • Every mutation writes to ownauth.audit_event, including failures, with actor, target and outcome.
  • Impersonation is recorded on the session (impersonatedBy) and in the audit trail, and flagged in the Sessions page.
  • Settings changes are validated by the boot parser before writing, and audited as settings.update.

They look similar and answer different questions:

  • Settings changes things, and says “restart required”.
  • Configuration explains things: what is enabled, and which parts of this deployment are not ready for production (email verification off, mail going to a log, dedicated database with no join).