From 594a496bfcf2e71052ca63a32c1c9c41fc5d03da Mon Sep 17 00:00:00 2001 From: Muhammad Arslan Date: Wed, 14 Dec 2022 14:47:19 +0500 Subject: [PATCH] panel admin limitation added (#345) --- lms/envs/common.py | 4 ++++ openedx/features/edly/constants.py | 1 + 2 files changed, 5 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index 54db2ca05036..f066861ca0dd 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -60,6 +60,7 @@ MONTHLY_ACTIVE_USERS, NUMBER_OF_COURSES, NUMBER_OF_REGISTERED_USERS, + PANEL_ADMINS, STAFF_USERS, TRIAL, WP_ADMIN_USERS, @@ -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, @@ -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, @@ -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, } } diff --git a/openedx/features/edly/constants.py b/openedx/features/edly/constants.py index 898b7c21b1ee..ff301cd57144 100644 --- a/openedx/features/edly/constants.py +++ b/openedx/features/edly/constants.py @@ -17,3 +17,4 @@ STAFF_USERS = 'staff_users' WP_ADMIN_USERS = 'wp_admin_users' COURSE_AUTHORS = 'course_authors' +PANEL_ADMINS = 'panel_admins'