Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: fd0cf9b3af5c7cf6e3b1c278d45c61c1a8dc4602
https://github.com/tribe29/checkmk/commit/fd0cf9b3af5c7cf6e3b1c278d45c61c1a…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-21 (Fri, 21 May 2021)
Changed paths:
A .werks/12833
M cmk/gui/userdb.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
12833 FIX Fix logout of active user sessions when using multiple sessions
Previous Checkmk 2.0 releases could logout an active login sessions of a user
when the same user was used from multiple clients (e.g. different browsers,
GUI, API, or nagstamon). This was caused by an invalid session cleanup
mechanism.
Background: With Checkmk 2.0 a new login sessions tracking was introduced.
This session tracking allows up to 20 active login sessions for a single user.
Once the 21st login session is opened, a cleanup mechanism is triggered which
cleans up a) all sessions except the newest 20 sessions and b) all sessions
which were inactive for 7 days. Instead of keeping the newest sessions, the it
was keeping the oldest sessions which lead to the active sessions being logged
out in the moment the cleanup was triggered.
Change-Id: I610e1046702a5d638ff1288fe0a0faf752269d5e
Commit: 923743a074d6bc80c304c951b420e7daf4e5566e
https://github.com/tribe29/checkmk/commit/923743a074d6bc80c304c951b420e7daf…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-21 (Fri, 21 May 2021)
Changed paths:
M tests/integration/livestatus/test_livestatus.py
M tests/testlib/site.py
Log Message:
-----------
Earlier integration test failing
* livestatus test: Test precondition and fail test setup early
* site start: In case it could not be started: Terminate test run
* Improve site.omd() output handling
Change-Id: I4c83512771f67404546602da31cd7148176c1be4
Compare:
https://github.com/tribe29/checkmk/compare/a31eadd02028...923743a074d6