diff --git a/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php b/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php index bdef965731c6df096dddd8715145c793cc82dcc4..c6e0d907cdee2f8e8481365c844d2cf23a8ff3a8 100644 --- a/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php +++ b/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php @@ -67,6 +67,9 @@ class CategoryPermissionsAspect // Check the rootline against categoryMountPoints when tree was filtered if ($dataProvider->getRootUid() !== null) { + if (in_array($dataProvider->getRootUid(), $categoryMountPoints)) { + return; + } $uidsInRootline = $this->findUidsInRootline($dataProvider->getRootUid()); if (!empty(array_intersect($categoryMountPoints, $uidsInRootline))) { // One of the parents was found in categoryMountPoints so all children are secure