Werk #15508: time_period: verify time_period usages before deletion

Komponente REST API
Titel time_period: verify time_period usages before deletion
Datum 20.03.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
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)

Prior to this werk, the REST API did not check whether a time period to be deleted was referenced by other objects. This caused a conflict after deletion. This werk fixes this by preventing the REST API from performing a deletion if the time period is currently being referenced.

Zur Liste aller Werks