Werk #13973: Putting a service into downtime no longer requires access to the corresponding host in the REST API

Component REST API
Title Putting a service into downtime no longer requires access to the corresponding host in the REST API
Date Feb 17, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Putting a service into downtime using the REST API required permissions to access the corresponding host in the REST API. The REST API call would fail with an error message stating that,

Host 'myhost' exists, but is not monitored. Activate the configuration?

This behaviour doesn't match the GUI's and is now no longer the case.

To the list of all Werks