Commit 6b64972b by Douglas Cerna

Added Enterprise setting for filtering audit course modes

parent 6f326f72
...@@ -931,6 +931,13 @@ ENTERPRISE_CUSTOMER_LOGO_IMAGE_SIZE = ENV_TOKENS.get( ...@@ -931,6 +931,13 @@ ENTERPRISE_CUSTOMER_LOGO_IMAGE_SIZE = ENV_TOKENS.get(
ENTERPRISE_CUSTOMER_LOGO_IMAGE_SIZE ENTERPRISE_CUSTOMER_LOGO_IMAGE_SIZE
) )
# Course enrollment modes to be hidden in the Enterprise enrollment page
# if the "Hide audit track" flag is enabled for an EnterpriseCustomer
ENTERPRISE_COURSE_ENROLLMENT_AUDIT_MODES = ENV_TOKENS.get(
'ENTERPRISE_COURSE_ENROLLMENT_AUDIT_MODES',
ENTERPRISE_COURSE_ENROLLMENT_AUDIT_MODES
)
############## ENTERPRISE SERVICE API CLIENT CONFIGURATION ###################### ############## ENTERPRISE SERVICE API CLIENT CONFIGURATION ######################
# The LMS communicates with the Enterprise service via the EdxRestApiClient class # The LMS communicates with the Enterprise service via the EdxRestApiClient class
......
...@@ -3131,6 +3131,7 @@ HELP_TOKENS_BOOKS = { ...@@ -3131,6 +3131,7 @@ HELP_TOKENS_BOOKS = {
ENTERPRISE_ENROLLMENT_API_URL = LMS_ROOT_URL + "/api/enrollment/v1/" ENTERPRISE_ENROLLMENT_API_URL = LMS_ROOT_URL + "/api/enrollment/v1/"
ENTERPRISE_PUBLIC_ENROLLMENT_API_URL = ENTERPRISE_ENROLLMENT_API_URL ENTERPRISE_PUBLIC_ENROLLMENT_API_URL = ENTERPRISE_ENROLLMENT_API_URL
ENTERPRISE_COURSE_ENROLLMENT_AUDIT_MODES = ['audit', 'honor']
############## ENTERPRISE SERVICE API CLIENT CONFIGURATION ###################### ############## ENTERPRISE SERVICE API CLIENT CONFIGURATION ######################
# The LMS communicates with the Enterprise service via the EdxRestApiClient class # The LMS communicates with the Enterprise service via the EdxRestApiClient class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment