Werk #15508: time_period: verify time_period usages before deletion

Component REST API
Title time_period: verify time_period usages before deletion
Date Mar 20, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
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.

To the list of all Werks