feat: add PA role
This commit is contained in:
@@ -56,7 +56,10 @@ from enterprise.constants import (
|
||||
ENTERPRISE_FULFILLMENT_OPERATOR_ROLE,
|
||||
ENTERPRISE_REPORTING_CONFIG_ADMIN_ROLE,
|
||||
ENTERPRISE_SSO_ORCHESTRATOR_OPERATOR_ROLE,
|
||||
ENTERPRISE_OPERATOR_ROLE
|
||||
ENTERPRISE_OPERATOR_ROLE,
|
||||
SYSTEM_ENTERPRISE_PROVISIONING_ADMIN_ROLE,
|
||||
PROVISIONING_ENTERPRISE_CUSTOMER_ADMIN_ROLE,
|
||||
PROVISIONING_PENDING_ENTERPRISE_CUSTOMER_ADMIN_USER_ROLE,
|
||||
)
|
||||
|
||||
from openedx.core.constants import COURSE_KEY_REGEX, COURSE_KEY_PATTERN, COURSE_ID_PATTERN
|
||||
@@ -3350,6 +3353,9 @@ INSTALLED_APPS = [
|
||||
# Management of external user ids
|
||||
'openedx.core.djangoapps.external_user_ids',
|
||||
|
||||
# Provides api for Demographics support
|
||||
'openedx.core.djangoapps.demographics',
|
||||
|
||||
# Management of per-user schedules
|
||||
'openedx.core.djangoapps.schedules',
|
||||
|
||||
@@ -4292,10 +4298,6 @@ SOCIAL_PLATFORMS = {
|
||||
}
|
||||
}
|
||||
|
||||
# Enable First Purchase Discount offer override
|
||||
FIRST_PURCHASE_DISCOUNT_OVERRIDE_CODE = ''
|
||||
FIRST_PURCHASE_DISCOUNT_OVERRIDE_PERCENTAGE = 15
|
||||
|
||||
# E-Commerce API Configuration
|
||||
ECOMMERCE_PUBLIC_URL_ROOT = 'http://localhost:8002'
|
||||
ECOMMERCE_API_URL = 'http://localhost:8002/api/v2'
|
||||
@@ -4683,8 +4685,7 @@ ENTERPRISE_ALL_SERVICE_USERNAMES = [
|
||||
]
|
||||
|
||||
# Setting for Open API key and prompts used by edx-enterprise.
|
||||
CHAT_COMPLETION_API = 'https://example.com/chat/completion'
|
||||
CHAT_COMPLETION_API_KEY = 'i am a key'
|
||||
OPENAI_API_KEY = ''
|
||||
LEARNER_ENGAGEMENT_PROMPT_FOR_ACTIVE_CONTRACT = ''
|
||||
LEARNER_ENGAGEMENT_PROMPT_FOR_NON_ACTIVE_CONTRACT = ''
|
||||
LEARNER_PROGRESS_PROMPT_FOR_ACTIVE_CONTRACT = ''
|
||||
@@ -4740,6 +4741,10 @@ SYSTEM_TO_FEATURE_ROLE_MAPPING = {
|
||||
ENTERPRISE_FULFILLMENT_OPERATOR_ROLE,
|
||||
ENTERPRISE_SSO_ORCHESTRATOR_OPERATOR_ROLE,
|
||||
],
|
||||
SYSTEM_ENTERPRISE_PROVISIONING_ADMIN_ROLE: [
|
||||
PROVISIONING_ENTERPRISE_CUSTOMER_ADMIN_ROLE,
|
||||
PROVISIONING_PENDING_ENTERPRISE_CUSTOMER_ADMIN_USER_ROLE,
|
||||
],
|
||||
}
|
||||
|
||||
DATA_CONSENT_SHARE_CACHE_TIMEOUT = 8 * 60 * 60 # 8 hours
|
||||
|
||||
Reference in New Issue
Block a user