We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e255e0d commit 9f0a35cCopy full SHA for 9f0a35c
1 file changed
openedx_authz/engine/utils.py
@@ -303,8 +303,7 @@ def migrate_authz_to_legacy_course_roles(
303
304
To build each CourseAccessRole entry, the function needs:
305
- A user: resolved from role assignments in scopes linked to courses.
306
- - A scope: either a CourseOverviewData (course-level) or OrgCourseOverviewGlobData (org-level glob),
307
- filtered by course_id or org_id if provided.
+ - A scope: a CourseOverviewData or OrgCourseOverviewGlobData instance, optionally filtered by course_id or org_id.
308
- A role: a role external key that maps to a legacy role in COURSE_ROLE_EQUIVALENCES.
309
310
param course_access_role_model: It should be the CourseAccessRole model. This is passed in because the function
0 commit comments