Enable LMS sysadmin dashboard by default
The dashboard is available at /sysadmin. It's a CRUD interface for managing users and courses. Enabling this interface required that the DATA_DIR setting was not a string, but a Path object. Close #353.
This commit is contained in:
parent
27d74c1343
commit
90c5842c1c
|
@ -2,6 +2,10 @@
|
|||
|
||||
Note: Breaking changes between versions are indicated by "💥".
|
||||
|
||||
## Unreleased
|
||||
|
||||
- [Feature] Enable sysadmin dashboard in LMS at /sysadmin
|
||||
|
||||
## v10.0.10 (2020-07-01)
|
||||
|
||||
- [Bugfix] Fix pycontracts installation error when building openedx Docker image
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"ENABLE_GRADE_DOWNLOADS": true,
|
||||
"ENABLE_MOBILE_REST_API": true,
|
||||
"ENABLE_OAUTH2_PROVIDER": true,
|
||||
"ENABLE_SYSADMIN_DASHBOARD": true,
|
||||
"ENABLE_THIRD_PARTY_AUTH": true
|
||||
},
|
||||
"LMS_ROOT_URL": "{{ "https" if ACTIVATE_HTTPS else "http" }}://{{ LMS_HOST }}",
|
||||
|
|
|
@ -17,7 +17,7 @@ API_ACCESS_FROM_EMAIL = ENV_TOKENS["CONTACT_EMAIL"]
|
|||
|
||||
# Load module store settings from config files
|
||||
update_module_store_settings(MODULESTORE, doc_store_settings=DOC_STORE_CONFIG)
|
||||
DATA_DIR = "/openedx/data/"
|
||||
DATA_DIR = path("/openedx/data/")
|
||||
for store in MODULESTORE["default"]["OPTIONS"]["stores"]:
|
||||
store["OPTIONS"]["fs_root"] = DATA_DIR
|
||||
|
||||
|
|
Loading…
Reference in New Issue