Skip to content

M0 - RBAC AuthZ - Coexistence model for legacy role assignment #180

Closed
6 of 6 issues completed
Closed

Description

@rodmgwgu

Purpose
Enable safe development where Studio can start enforcing authorization via the new AuthZ path, while legacy roles (Staff, Admin, etc.) must keep working across the rest of the platform.

Outcome
A documented and working coexistence model for assigning and revoking legacy roles across both systems, plus the minimum tooling to migrate, validate, and safely iterate on the main branch.

Definition of Done

  • Source of truth for this phase is defined and documented, including how assign and revoke behave when two systems are in play, and what guarantees we provide.
  • Minimal roles for technical validation exist, including at least one role that grants a single permission, to validate enforcement and debug authorization behavior in isolation.
  • Migration tooling exists, enough to keep assignments consistent across systems during development, and to recover from drift when it happens.
  • First Studio surface is selected, and the cut is explicit, this surface can use the new AuthZ enforcement path when enabled, everything else stays on legacy.
  • Safe gating for main branch iteration is implemented, new enforcement is OFF by default in production like environments, enabled only via feature flags.
  • Rollback strategy is agreed, plus a documented revert plan if needed.
  • Staging environment exists and is usable for validating the coexistence model end to end, if it does not exist today, creating it is part of M0.
  • Known limitations are documented, and we have a short operational playbook for debugging and recovery during the transition.

Dependencies
Engineering decision on coexistence strategy, availability or creation of a staging environment, and agreement on the single role management entry point supported during the transition.

Alignment items M0 must close

  • First Studio cut, proposal: Group Settings is the proposed initial surface for the first AuthZ enforcement cut.
  • Role assignment entry points: during the transition, we will support Instructor Dashboard only for assignment and revocation, we will not build additional role management interfaces in Studio, Django admin, or the Admin Console for this phase.
  • Migration approach: what “migration tooling” covers in this phase, and what guarantees we can realistically provide.
  • What “consistent enough” means in this phase, especially for revoke edge cases and cross tool behavior for Staff and Admin. (logs, refresh, etc)

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    verawood

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions