Context
Since release/verawood was cut, several RBAC (openedx-authz) fixes have been merged into master. They correct wrongful 403s, crashes with platform-wide (glob) role assignments, and inconsistent permission gates. These fixes are not yet in release/verawood. Verawood is still on openedx-authz==1.21.0, while master is already on 1.23.0.
Goal
Backport to release/verawood the RBAC bug-fix PRs already merged into master, so Verawood doesn't carry permission regressions that are already resolved.
Scope
Includes: permission/role/authz fixes (Studio, Content Libraries, Instructor Dashboard) and the reverts that correct a previous backport.
Excludes:
- New RBAC features, unless a fix needs them as a dependency (see "To evaluate").
- Refactors, automated bumps, and test or lint fixes.
Backport criteria
- Use
git cherry-pick -x from the master commit.
- If a fix depends on code or an
openedx-authz version that Verawood doesn't have, backport the dependency first or drop the PR.
- Each backport PR targets
release/verawood, references the original PR, and passes the relevant tests.
PRs to backport (fixes)
403 / permission fixes in Studio
Platform-wide (glob) and org-scoped roles
Other
To decide before backporting
To evaluate (features the fixes might need as dependencies)
These are features, not fixes. Backport them only if a fix above doesn't apply cleanly without them:
Tasks
Context
Since
release/verawoodwas cut, several RBAC (openedx-authz) fixes have been merged intomaster. They correct wrongful 403s, crashes with platform-wide (glob) role assignments, and inconsistent permission gates. These fixes are not yet inrelease/verawood. Verawood is still onopenedx-authz==1.21.0, whilemasteris already on 1.23.0.Goal
Backport to
release/verawoodthe RBAC bug-fix PRs already merged intomaster, so Verawood doesn't carry permission regressions that are already resolved.Scope
Includes: permission/role/authz fixes (Studio, Content Libraries, Instructor Dashboard) and the reverts that correct a previous backport.
Excludes:
Backport criteria
git cherry-pick -xfrom themastercommit.openedx-authzversion that Verawood doesn't have, backport the dependency first or drop the PR.release/verawood, references the original PR, and passes the relevant tests.PRs to backport (fixes)
403 / permission fixes in Studio
Platform-wide (glob) and org-scoped roles
get_orgs_for_user/has_org_for_userOther
b0fe764b3b– throttle cache key fixed for same scoped classesUnboundLocalErrorinBulkRoleCache.prefetch(authz compat roles loop) #514To decide before backporting
07f09868c1) – reverts "Cannot rerun courses – authz role assignment expects rerun to already exist" (#38840). Verawood does have #38840 (as #38858), so it probably needs the revert too. To be confirmed.To evaluate (features the fixes might need as dependencies)
These are features, not fixes. Backport them only if a fix above doesn't apply cleanly without them:
Tasks
release/verawood(git cherry-pick --no-commit) and identify dependencies.openedx-authzbump and revert #38973.