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