From fcfb3e5b78a9ec3434ecd8075546336f19aaec0d Mon Sep 17 00:00:00 2001 From: Zoey Hilton Date: Thu, 17 Oct 2024 07:33:49 +0200 Subject: [PATCH] Update session management wording in 2.3.0 - Updated session management inline help to better outline a lack of session persistance on browser closure. - Changes to both Maximum Session Duration and Idle Timeout. Change-Id: Ia074a9e63a6e9cbee7907c9c20c53ac8dd6227c1 --- cmk/gui/wato/_check_mk_configuration.py | 7 ++++--- cmk/gui/watolib/users.py | 14 +++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/cmk/gui/wato/_check_mk_configuration.py b/cmk/gui/wato/_check_mk_configuration.py index 195abb79e03..c5bb943a41d 100644 --- a/cmk/gui/wato/_check_mk_configuration.py +++ b/cmk/gui/wato/_check_mk_configuration.py @@ -2625,9 +2625,10 @@ def _validate_max_duration(d: dict, varprefix: str) -> None: display=["minutes", "hours", "days"], minvalue=60, help=_( - "Define the maximum session duration. " - "If reached, the user has to " - "re-authenticate.", + "Define the maximum allowed session " + "duration. If reached, the user has to " + "re-authenticate. Sessions are not set " + "to persist on browser termination.", ), default_value=86400, ), diff --git a/cmk/gui/watolib/users.py b/cmk/gui/watolib/users.py index 119d357fca9..918508bee73 100644 --- a/cmk/gui/watolib/users.py +++ b/cmk/gui/watolib/users.py @@ -289,13 +289,13 @@ def vs_idle_timeout_duration() -> Age: display=["minutes", "hours", "days"], minvalue=60, help=_( - "Normally a user login session is valid until the password is changed or " - "the user is locked. By enabling this option, you can apply a time limit " - "to login sessions which is applied when the user stops interacting with " - "the GUI for a given amount of time. When a user is exceeding the configured " - "maximum idle time, the user will be logged out and redirected to the login " - "screen to renew the login session. This setting can be overridden in each " - "individual user's profile." + "Normally a user login session is valid until the password is changed, the " + "browser is closed or the user is locked. By enabling this option, you " + "can apply a time limit to login sessions which is applied when the user " + "stops interacting with the GUI for a given amount of time. When a user " + "exceeds the configured maximum idle time, the user will be logged " + "out and redirected to the login screen to renew the login session. " + "This setting can be overridden in each individual user's profile.", ), default_value=5400, )