We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10b7c53 commit 28791a6Copy full SHA for 28791a6
1 file changed
openedx_authz/engine/utils.py
@@ -337,8 +337,7 @@ def migrate_authz_to_legacy_course_roles(
337
role_assignments = [
338
role_assignment
339
for role_assignment in role_assignments
340
- if isinstance(role_assignment.scope, CourseOverviewData)
341
- and role_assignment.scope.external_key in course_id_list
+ if role_assignment.scope.course_id in course_id_list
342
]
343
344
roles_with_errors = []
0 commit comments