diff --git a/doc/source/topics/settings.rst b/doc/source/topics/settings.rst index 2817a6da9..b913f0007 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 89f5183c5..988aafada 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 000000000..829b9e5f8 --- /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.