Commit 6b085281 by Joel Barciauskas Committed by George Song

Don't allow any user to create courses by default

* Change settings default
* Set `ENABLE_CREATOR_GROUP` to False for devstack
* Set `ENABLE_CREATOR_GROUP` to False for tests

In f095c5fe it was decided to enable
anyone to make courses in Studio by default in order to make things
easier in dev environments. This was before the code was open source.
This default is likely in effect for many Open edX instances, but almost
no one would want this setting outside of development.
parent d01d165e
...@@ -151,8 +151,8 @@ FEATURES = { ...@@ -151,8 +151,8 @@ FEATURES = {
'AUTOPLAY_VIDEOS': False, 'AUTOPLAY_VIDEOS': False,
# If set to True, new Studio users won't be able to author courses unless # If set to True, new Studio users won't be able to author courses unless
# edX has explicitly added them to the course creator group. # an Open edX admin has added them to the course creator group.
'ENABLE_CREATOR_GROUP': False, 'ENABLE_CREATOR_GROUP': True,
# whether to use password policy enforcement or not # whether to use password policy enforcement or not
'ENFORCE_PASSWORD_POLICY': False, 'ENFORCE_PASSWORD_POLICY': False,
......
...@@ -119,6 +119,9 @@ SEARCH_ENGINE = "search.elastic.ElasticSearchEngine" ...@@ -119,6 +119,9 @@ SEARCH_ENGINE = "search.elastic.ElasticSearchEngine"
########################## Certificates Web/HTML View ####################### ########################## Certificates Web/HTML View #######################
FEATURES['CERTIFICATES_HTML_VIEW'] = True FEATURES['CERTIFICATES_HTML_VIEW'] = True
########################## AUTHOR PERMISSION #######################
FEATURES['ENABLE_CREATOR_GROUP'] = False
################################# DJANGO-REQUIRE ############################### ################################# DJANGO-REQUIRE ###############################
# Whether to run django-require in debug mode. # Whether to run django-require in debug mode.
......
...@@ -323,6 +323,9 @@ SEARCH_ENGINE = "search.tests.mock_search_engine.MockSearchEngine" ...@@ -323,6 +323,9 @@ SEARCH_ENGINE = "search.tests.mock_search_engine.MockSearchEngine"
FEATURES['ENABLE_ENROLLMENT_TRACK_USER_PARTITION'] = True FEATURES['ENABLE_ENROLLMENT_TRACK_USER_PARTITION'] = True
########################## AUTHOR PERMISSION #######################
FEATURES['ENABLE_CREATOR_GROUP'] = False
# teams feature # teams feature
FEATURES['ENABLE_TEAMS'] = True FEATURES['ENABLE_TEAMS'] = True
......
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