Project

General

Profile

Actions

Bug #17952

closed

typolinkLinkAccessRestrictedPages / showAccessRestrictedPages access does not work with "include subpages"

Added by Kurt over 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-12-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If there is a not access restricted page with a link to a page with is access protected, butnot directly but through the "include subpages" feature of its parent, the typolinkLinkAccessRestrictedPages feature does not work. The link to the is displayed, but not rewritten to the page configured with typolinkLinkAccessRestrictedPages = pid

in order to reproduce create three pages a,b, and c (a parent of b, c child of b)
and access protect b.
Create two links on a, one to b the other to c.
Activate typolinkLinkAccessRestrictedPages and set it to a's pid.

Two links are shown. The "b" link actually links to a but the "c" link does not.

The same applies to menues with showAccessRestrictedPages

this is due to the fact that during the procedure which figures out if the page is access restricted, only the current page is checked for access parameters but not its ancestors.
(issue imported from #M7051)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #16561: Typolink doesn't check if a page in rootline has some access and include subpages is set...Closed2006-09-13

Actions
Actions

Also available in: Atom PDF