Werk #19683: User list: handle users without "locked" attribute
| Component | Setup | ||
| Title | User list: handle users without "locked" attribute | ||
| Date | Apr 23, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Opening the Setup > Users page crashed with KeyError: 'locked' when the
user database contained a user whose profile did not include the locked
attribute. This could happen for users created via external connectors or
older Checkmk versions.
The user list now treats a missing locked attribute as unlocked, matching
the UserSpec type definition which already marks the attribute as
optional.