Merge "Make ask.openstack.org read-only"

This commit is contained in:
Zuul 2020-09-01 22:11:01 +00:00 committed by Gerrit Code Review
commit e824ea1caf
1 changed files with 8 additions and 0 deletions

View File

@ -365,6 +365,14 @@ LIVESETTINGS_OPTIONS = {
1: {
'DB': True,
'SETTINGS': {
'ACCESS_CONTROL': {
'READ_ONLY_MODE_ENABLED': True,
'READ_ONLY_MESSAGE':
'The ask.openstack.org website will be read-only from '
'now on. Please ask questions on the openstack-discuss '
'mailing-list or on stackoverflow.com instead (use the '
'"openstack" tag).'
},
'GENERAL_SKIN_SETTINGS': {
<% if @custom_theme_enabled %>
'ASKBOT_DEFAULT_SKIN': '<%= @custom_theme_name %>',