#89989Since v9.5.12 extendToSubpages has no effect for subpages in menus
Description
Since TYPO3 9.5.12, subpages of a access protected page with enabled extendToSubpages option are still visible in a frontend menu.
Scenario
backend pagetree example:- Parentpage (Usergroup Access Rights: Show at any login, Extend to Subpages: enabled, Page enabled in menus: disabled)
- Subpage 1 (Page enabled in menus: enabled)
- Subpage 2 (Page enabled in menus: enabled)
- …
menu processor:
page.10.dataProcessing.30 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
page.10.dataProcessing.30 {
special = directory
special.value = {$mainmenuPid}
levels = 4
expandAll = 1
includeSpacer = 1
titleField = nav_title // title
as = mainmenu
}
Even if the user group rights of the parent page are set to “Show at every login” and “extend to subpages” is enabled, the subpages are visible in the menu for public visitors who are not logged in.