Skip to content

Commit

Permalink
Update session management wording in 2.3.0
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Zatcmk committed Oct 23, 2024
1 parent 3649c1c commit fcfb3e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions cmk/gui/wato/_check_mk_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down
14 changes: 7 additions & 7 deletions cmk/gui/watolib/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit fcfb3e5

Please sign in to comment.