You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the migration scripts are completed, the next step is to integrate them with the course authorization flag so that migrations are triggered automatically when the flag is changed.
The behavior is defined as follows:
The migration scripts must always be executed with the --delete flag.
It is assumed that equivalent roles exist between the legacy authorization system and the AuthZ system.
The migration process will run synchronously when the flag is updated.
When the flag is enabled, roles are migrated from the legacy CourseAccessRole model to AuthZ role assignments.
When the flag is disabled, roles are migrated from AuthZ role assignments back to the legacy CourseAccessRole model.
This approach ensures that role assignments exist in only one authorization system at a time, which is required for the compatibility layer to function correctly and to avoid inconsistent authorization behavior.
Activity
BryanttV commentedon Apr 9, 2026
ADR PR ready for review: #251
BryanttV commentedon Apr 16, 2026
Implementation PR ready for review: #259