Project

General

Profile

Bug #102015 » patch_102015.patch

Uwe Wiebach, 2024-10-28 14:22

View differences:

typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php
// Check the rootline against categoryMountPoints when tree was filtered
foreach ($startingPoints as $startingPoint) {
if (!in_array($startingPoint, $categoryMountPoints)) {
$shallRepopulateTree = true;
break;
}
$uidsInRootline = $this->findUidsInRootline($startingPoint);
if (empty(array_intersect($categoryMountPoints, $uidsInRootline))) {
if ($startingPoint) {
if (in_array($startingPoint, $categoryMountPoints)) {
$shallRepopulateTree = false;
break;
}
$uidsInRootline = $this->findUidsInRootline($startingPoint);
if (!empty(array_intersect($categoryMountPoints, $uidsInRootline))) {
$shallRepopulateTree = false;
break;
}
$shallRepopulateTree = true;
break;
}
}
(3-3/3)