From 455a1ba62a16ed662d6678f1431b83935125316c Mon Sep 17 00:00:00 2001 From: Rob Cresswell Date: Tue, 23 Aug 2016 15:10:12 +0100 Subject: [PATCH] Add rel note and example for TOKEN_DELETE_DISABLED https://review.openstack.org/#/c/340689 added a new setting to Django OpenStack Auth. This patch documents it and provides an example. Change-Id: Ib684b4c918af0d5ae3770cba702b44e86a3ad3da Closes-Bug: 1609506 --- doc/source/topics/settings.rst | 10 ++++++++++ openstack_dashboard/local/local_settings.py.example | 5 +++++ .../notes/token-delete-disabled-bb50c3cddd315ee6.yaml | 4 ++++ 3 files changed, 19 insertions(+) create mode 100644 releasenotes/notes/token-delete-disabled-bb50c3cddd315ee6.yaml diff --git a/doc/source/topics/settings.rst b/doc/source/topics/settings.rst index 2817a6da91..b913f0007a 100755 --- a/doc/source/topics/settings.rst +++ b/doc/source/topics/settings.rst @@ -1111,6 +1111,16 @@ Example:: .. note:: The value is expected to be a tuple formatted as: (, ). +``TOKEN_DELETE_DISABLED`` +------------------------- + +.. versionadded:: 10.0.0(Newton) + +Default: ``False`` + +This setting allows deployers to control whether a token is deleted on log out. +This can be helpful when there are often long running processes being run +in the Horizon environment. ``OPENSTACK_CINDER_FEATURES`` ----------------------------- diff --git a/openstack_dashboard/local/local_settings.py.example b/openstack_dashboard/local/local_settings.py.example index 89f5183c57..988aafadaa 100644 --- a/openstack_dashboard/local/local_settings.py.example +++ b/openstack_dashboard/local/local_settings.py.example @@ -222,6 +222,11 @@ OPENSTACK_KEYSTONE_BACKEND = { # allowing Admin session password retrieval/decryption. #OPENSTACK_ENABLE_PASSWORD_RETRIEVE = False +# This setting allows deployers to control whether a token is deleted on log +# out. This can be helpful when there are often long running processes being +# run in the Horizon environment. +#TOKEN_DELETE_DISABLED = False + # The Launch Instance user experience has been significantly enhanced. # You can choose whether to enable the new launch instance experience, # the legacy experience, or both. The legacy experience will be removed diff --git a/releasenotes/notes/token-delete-disabled-bb50c3cddd315ee6.yaml b/releasenotes/notes/token-delete-disabled-bb50c3cddd315ee6.yaml new file mode 100644 index 0000000000..829b9e5f8b --- /dev/null +++ b/releasenotes/notes/token-delete-disabled-bb50c3cddd315ee6.yaml @@ -0,0 +1,4 @@ +--- +features: + - Added the ``TOKEN_DELETE_DISABLED`` setting, so that deployers can + customise the revocation of a users token on log out.