We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a63b80c commit b2e9ddfCopy full SHA for b2e9ddf
1 file changed
common/djangoapps/student/auth.py
@@ -256,7 +256,8 @@ def _has_content_creator_access(user, org):
256
"""
257
if settings.FEATURES.get('DISABLE_COURSE_CREATION', False):
258
return False
259
- org_scope_key = f"course-v1:{org}+*"
+ # Using Org scope. e.g. "course-v1:{org}+*"
260
+ org_scope_key = authz_api.OrgCourseOverviewGlobData.build_external_key(org)
261
262
return authz_api.is_user_allowed(
263
user.username,
0 commit comments