We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca5db7 commit 50781e6Copy full SHA for 50781e6
1 file changed
openedx_authz/engine/utils.py
@@ -327,8 +327,7 @@ def migrate_authz_to_legacy_course_roles(
327
role_assignments = [
328
role_assignment
329
for role_assignment in role_assignments
330
- if isinstance(role_assignment.scope, CourseOverviewData)
331
- and role_assignment.scope.external_key in course_id_list
+ if role_assignment.scope.course_id in course_id_list
332
]
333
334
roles_with_errors = []
0 commit comments