Skip to content

Commit

Permalink
panel admin limitation added (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
marslanabdulrauf authored Dec 14, 2022
1 parent e2d3d5d commit 594a496
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
MONTHLY_ACTIVE_USERS,
NUMBER_OF_COURSES,
NUMBER_OF_REGISTERED_USERS,
PANEL_ADMINS,
STAFF_USERS,
TRIAL,
WP_ADMIN_USERS,
Expand Down Expand Up @@ -4021,6 +4022,7 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
STAFF_USERS: 1,
WP_ADMIN_USERS: 1,
COURSE_AUTHORS: 1,
PANEL_ADMINS: 1,
},
ESSENTIALS: {
ADDITIONAL_USER_PRICE: 2,
Expand All @@ -4030,6 +4032,7 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
STAFF_USERS: 1,
WP_ADMIN_USERS: 1,
COURSE_AUTHORS: 3,
PANEL_ADMINS: 1,
},
ELITE: {
ADDITIONAL_USER_PRICE: 2,
Expand All @@ -4039,5 +4042,6 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
STAFF_USERS: 3,
WP_ADMIN_USERS: 3,
COURSE_AUTHORS: 10,
PANEL_ADMINS: 2,
}
}
1 change: 1 addition & 0 deletions openedx/features/edly/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
STAFF_USERS = 'staff_users'
WP_ADMIN_USERS = 'wp_admin_users'
COURSE_AUTHORS = 'course_authors'
PANEL_ADMINS = 'panel_admins'

0 comments on commit 594a496

Please sign in to comment.