Project

General

Profile

Actions

Bug #69776

closed

subpages are still visible in menus if parent page is access protected

Added by Patrick Lenk about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2015-09-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In 6.2.15: If the page access set to "show at any login" or specific group and the checkbox "extend to subpages" is set, the value is not inherited for subpages. subpages are still visible in menus. tested on different systems.

Actions #1

Updated by Claus Due about 9 years ago

You need to use the "extend to subpages?" toggle in Access panel if you wish the protection to also extend to subpages (including mount points below protected page).

This issue can be closed.

Actions #2

Updated by Wouter Wolters about 9 years ago

  • Status changed from New to Closed
Actions #3

Updated by Patrick Lenk about 9 years ago

Are you read my Text? I set this toggle and its not Working. I postet this Issue two times and you closed it again. WTF

Actions #4

Updated by Riccardo De Contardi about 9 years ago

  • Status changed from Closed to New

I reopen it. My apologies

Actions #5

Updated by Wouter Wolters about 9 years ago

Sorry for closing. 2 people reported that it worked for them without issue.

So your issue is probably a tricky one.

Can you give us more info about the structure, groups involved, how menu is rendered (TS, content object) etc.

Without this I don't think we get this resolved for you.

Actions #6

Updated by Patrick Lenk about 9 years ago

OK thanks. Again, it works well in 6.2.14 and before. Are there changes in menu TS or user handling?

I have a simple site structure:

RootPage
- Home (with felogin)
- Secure (access protection with usergroup "all users", toggle "Extend to Subpages" is active)
- - Header (access protection "show at any login", toggle "Extend to Subpages" is active)
- - - Internal
- - - Profile
- - - Logout
- - Main (access protection "show at any login", toggle "Extend to Subpages" is active)
- - - MainPage1
- - - MainPage2

The Header Pid is the "special = directory" value of an HMENU in lib.SITEHEADER

lib.SITEHEADER = COA
lib.SITEHEADER{
  ...
  20 = HMENU
  20{ 
    special = directory
    special.value = {$headermenuPid}
    wrap = <nav id="headermenu"><ul>|</ul></nav>
    1 = TMENU
    1 {
      expAll =1
      NO = 1
      NO {
        wrapItemAndSub = <li>|</li>
        ....

The Main Pid is the "special = directory" value of an HMENU called lib.MAINMENU.
The same TS like above.

Problem:
The Subpages of "Header" and "Main" are still visible in the Menus, if the user isn't logged in.
It doesn't matter if i set the access protection to "show at any login" or a specific usergroup.

This issue occurs on two different systems. Does anyone else have this issue?

Actions #7

Updated by Patrick Lenk about 9 years ago

seems to be fixed in current 6.2.16-dev state.

Actions #8

Updated by Patrick Lenk almost 9 years ago

fixed in 6.2.16, thanks

Actions #9

Updated by Morton Jonuschat almost 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF