Werk #13435: Fix 500 errors on BI rule endpoints

Component REST API
Title Fix 500 errors on BI rule endpoints
Date Nov 2, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p16 Checkmk Enterprise (CEE), Checkmk MSP (CME)

Deleting a rule which is a dependency of another rule returned a 500 status code, now returns 409

Deleting a rule returned a 500 status code "permission mismatch", now returns 204

Deleting a non existing rule returned a 500 status code, now returns 404

To the list of all Werks