Description
In the course rerun flow, we may need to associate access with a destination_key before the destination course fully exists. Today, openedx-authz expects the course to already exist, so the rerun flow needs authz-specific branching to avoid assigning the role too early.
Supporting this in openedx-authz could reduce the number of places where we need to check the authz toggle directly and avoid adding more branching logic between the legacy and authz paths.
The immediate course rerun issue is being handled in: openedx/openedx-platform#38840
Description
In the course rerun flow, we may need to associate access with a destination_key before the destination course fully exists. Today, openedx-authz expects the course to already exist, so the rerun flow needs authz-specific branching to avoid assigning the role too early.
Supporting this in openedx-authz could reduce the number of places where we need to check the authz toggle directly and avoid adding more branching logic between the legacy and authz paths.
The immediate course rerun issue is being handled in: openedx/openedx-platform#38840