Project

General

Profile

Bug #89989

Updated by Patrick Lenk almost 5 years ago

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:+ 
 <pre> 
 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 
 } 
 </pre> 

 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.  

Back