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
Checkmk Version 2.3.0b1 2.2.0p10
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Affected 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