fix: Add new proctoring key to Studio devstack & tests envs (copy from LMS) (#26430)

Turns out it's needed for the Proctoring Settings view.

Also reorder slightly for better clustering.

MST-644
This commit is contained in:
Tim McCormack
2021-02-08 15:43:51 +00:00
committed by GitHub
parent 045a3dc249
commit b8a6e30bd9
3 changed files with 13 additions and 3 deletions

View File

@@ -241,5 +241,10 @@ CORS_ALLOW_HEADERS = corsheaders_default_headers + (
FEATURES['ENABLE_SPECIAL_EXAMS'] = True
FEATURES['ENABLE_PREREQUISITE_COURSES'] = True
# Used in edx-proctoring for ID generation in lieu of SECRET_KEY - dummy value
# (ref MST-637)
PROCTORING_USER_OBFUSCATION_KEY = '85920908f28904ed733fe576320db18cabd7b6cd'
# Don't tolerate deprecated edx-platform import usage in devstack.
ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS = True

View File

@@ -321,6 +321,10 @@ DEFAULT_MOBILE_AVAILABLE = True
PROCTORING_SETTINGS = {}
# Used in edx-proctoring for ID generation in lieu of SECRET_KEY - dummy value
# (ref MST-637)
PROCTORING_USER_OBFUSCATION_KEY = '85920908f28904ed733fe576320db18cabd7b6cd'
##### LOGISTRATION RATE LIMIT SETTINGS #####
LOGISTRATION_RATELIMIT_RATE = '5/5m'
LOGISTRATION_API_RATELIMIT = '5/m'

View File

@@ -432,9 +432,10 @@ if os.path.isfile(join(dirname(abspath(__file__)), 'private.py')):
FEATURES['ENABLE_SPECIAL_EXAMS'] = True
FEATURES['ENABLE_PREREQUISITE_COURSES'] = True
# Don't tolerate deprecated edx-platform import usage in devstack.
ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS = True
# Used in edx-proctoring for ID generation in lieu of SECRET_KEY - dummy value
# (ref MST-637)
PROCTORING_USER_OBFUSCATION_KEY = '85920908f28904ed733fe576320db18cabd7b6cd'
# Don't tolerate deprecated edx-platform import usage in devstack.
ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS = True