diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2019-04-14 07:55:38 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2019-09-12 15:05:56 +0900 |
commit | e56e076ea84bcf8129076beaf554e0fa10dc83f4 (patch) | |
tree | 16ae80fd844608cc095aa02765e3986145fa2a40 /openstack_dashboard/settings.py | |
parent | a629d100be544fddde460a65dc2f404627ecbaf9 (diff) | |
download | horizon-e56e076ea84bcf8129076beaf554e0fa10dc83f4.tar.gz |
Define default settings explicitly (openstack_auth)
This commit also moves descriptions of settings defined in openstack_auth
from openstack_dashboard/settings.py and local_settings.py(.example)
to openstack_auth/settings.py.
Note that if openstack_dashboard has different default settings
from openstack_auth defaults, they are now moved to
openstack_dashboard/defaults.py.
Part of blueprint ini-based-configuration
Change-Id: I59eebc388de0bcbd4d1fe35c6138efbd3e04c5b8
Diffstat (limited to 'openstack_dashboard/settings.py')
-rw-r--r-- | openstack_dashboard/settings.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py index 1655706a6..6b92f6213 100644 --- a/openstack_dashboard/settings.py +++ b/openstack_dashboard/settings.py @@ -187,15 +187,6 @@ SESSION_COOKIE_SECURE = False # False, SESSION_TIMEOUT acts as a hard limit. SESSION_REFRESH = True -# This SESSION_TIMEOUT is a method to supercede the token timeout with a -# shorter horizon session timeout (in seconds). If SESSION_REFRESH is True (the -# default) SESSION_TIMEOUT acts like an idle timeout rather than being a hard -# limit, but will never exceed the token expiry. If your token expires in 60 -# minutes, a value of 1800 will log users out after 30 minutes of inactivity, -# or 60 minutes with activity. Setting SESSION_REFRESH to False will make -# SESSION_TIMEOUT act like a hard limit on session times. -SESSION_TIMEOUT = 3600 - # When using cookie-based sessions, log error when the session cookie exceeds # the following size (common browsers drop cookies above a certain size): SESSION_COOKIE_MAX_SIZE = 4093 @@ -240,21 +231,6 @@ USE_TZ = True DEFAULT_EXCEPTION_REPORTER_FILTER = 'horizon.exceptions.HorizonReporterFilter' -POLICY_FILES_PATH = os.path.join(ROOT_PATH, "conf") -# Map of local copy of service policy files -POLICY_FILES = { - 'identity': 'keystone_policy.json', - 'compute': 'nova_policy.json', - 'volume': 'cinder_policy.json', - 'image': 'glance_policy.json', - 'network': 'neutron_policy.json', -} -# Services for which horizon has extra policies are defined -# in POLICY_DIRS by default. -POLICY_DIRS = { - 'compute': ['nova_policy.d'], -} - SECRET_KEY = None LOCAL_PATH = None |