-
Notifications
You must be signed in to change notification settings - Fork 5
Add CCX concepts, fix errors around CCX #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
aa773f4
39d8a31
b245375
ab1329f
f5db108
4b7f6ff
58d4fc4
0184ddd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -180,6 +180,13 @@ | |
|
|
||
| COURSE_BETA_TESTER = RoleData(external_key="course_beta_tester", permissions=COURSE_BETA_TESTER_PERMISSIONS) | ||
|
|
||
| # This is a known LMS-only permission, but doesn't actually grant anything yet. | ||
| # | ||
| # It is intended to be handled in the Willow time frame. | ||
| CCX_COACH_PERMISSIONS = [] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Permissions should be specified here I belive: https://github.com/openedx/openedx-authz/blob/main/openedx_authz/constants/permissions.py
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that's where we would define the permissions that we would include here, however we aren't migrating any of the CCX permissions right now, they are all in LMS / instructor dash, so this just creates an empty permission set so that we can define the role. |
||
| CCX_COACH = RoleData(external_key="ccx_coach", permissions=CCX_COACH_PERMISSIONS) | ||
|
|
||
|
|
||
| # Map of legacy course role names to their equivalent new roles | ||
| # This mapping must be unique in both directions, since it may be used as a reverse lookup (value → key). | ||
| # If multiple keys share the same value, it will lead to collisions. | ||
|
|
@@ -189,4 +196,5 @@ | |
| "limited_staff": COURSE_LIMITED_STAFF.external_key, | ||
| "data_researcher": COURSE_DATA_RESEARCHER.external_key, | ||
| "beta_testers": COURSE_BETA_TESTER.external_key, | ||
| "ccx_coach": CCX_COACH.external_key, | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.