We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 630903a commit 16e67e8Copy full SHA for 16e67e8
1 file changed
openedx_authz/constants/roles.py
@@ -181,6 +181,8 @@
181
COURSE_BETA_TESTER = RoleData(external_key="course_beta_tester", permissions=COURSE_BETA_TESTER_PERMISSIONS)
182
183
# Map of legacy course role names to their equivalent new roles
184
+# This mapping must be unique in both directions, since it may be used as a reverse lookup (value → key).
185
+# If multiple keys share the same value, it will lead to collisions.
186
LEGACY_COURSE_ROLE_EQUIVALENCES = {
187
"instructor": COURSE_ADMIN.external_key,
188
"staff": COURSE_STAFF.external_key,
0 commit comments