Loading the page…
Source: ddx-documentation/adr/0013-super-admin-platform-role.md
ddx-api/src/tenancy/org-slug.guard.ts, ddx-api/src/auth/**, auth migration platform_rolesuper-admin was assignable as an org role and granted every org (review finding C2).
super-admin is a PLATFORM role on the user (platformRole), not an org role. Org APIs
cannot assign it; ORG_ROLES does not list it.OrgSlugGuard resolves the :orgSlug org and those roles
BEFORE RolesGuard runs. Writes in an org the user is not a member of are audited.super-admin@<org>.test users with platformRole and joins them as
org-admin ( §7).Last reconciled: 2026-10-23 · task 043