Werk #16097: hosts: fix permission checking for moving hosts to other folders

Component REST API
Title hosts: fix permission checking for moving hosts to other folders
Date Sep 1, 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.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk fixes an issue that was introduced recently with regards to moving hosts to other folders. Permission checking was mistakingly carried out by checking for the correct contact groups on the host, source folder and target folder. This is no longer the case.

To the list of all Werks