Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #23156: REST API: check password editor and share groups again

Component REST API
Title REST API: check password editor and share groups again
Date Nov 17, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p22
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

A REST API user without the permission to edit all passwords could create a password that is editable by a contact group they are not a member of. The password was saved, but the request crashed with KeyError because the user could no longer see it. The same happened when such a user left editable_by out, as it defaults to the admin group. Unknown groups were accepted, too.

As in Checkmk 2.4.0, the REST API now checks editable_by and shared against the contact groups the user may use, and rejects other values with a 400 error.

A user without that permission now has to name editable_by when creating a password.

To the list of all Werks