forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: move progress related api staff-perms to standard permission file
- Loading branch information
1 parent
3381de6
commit dc2311c
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
""" | ||
Permission definitions for the ccx djangoapp | ||
""" | ||
|
||
from bridgekeeper import perms | ||
|
||
from lms.djangoapps.courseware.rules import HasAccessRule | ||
|
||
HAS_STAFF_ACCESS_ON_COURSE_API = 'course_home_api.staff_access_on_course_api' | ||
|
||
perms[HAS_STAFF_ACCESS_ON_COURSE_API] = HasAccessRule('staff') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters