Werk #13435: Fix 500 errors on BI rule endpoints

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

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