Bug #102015 » patch_102015.patch
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;
|
||
}
|
||
}
|
||
- « Previous
- 1
- 2
- 3
- Next »