Commit bba64ab9 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[SECURITY] Hide items in page tree a user does not have access to

Due to a pass-by-reference error pages a user does not have access
to were still visible in the page tree.

Resolves: #87676
Releases: master, 9.5
Security-Commit: 5d2c69c00554ec64ea020ec803f593ae772fa367
Security-Bulletin: TYPO3-CORE-SA-2019-009
Change-Id: Ic8ba91b596e1589860bc28b746e551ac6bc47588

Tested-by: Oliver Hader's avatarOliver Hader <>
Reviewed-by: Oliver Hader's avatarOliver Hader <>
parent fbf68c15
......@@ -142,7 +142,7 @@ class PageTreeRepository
if (!isset($tree['_children'])) {
foreach ($tree['_children'] as $k => $childPage) {
foreach ($tree['_children'] as $k => &$childPage) {
if (!call_user_func_array($callback, [$childPage])) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment