#16561Typolink doesn't check if a page in rootline has some access and include subpages is set...
Description
Typolink doesn’t check the parent sides for enableFields together with include subpages
Example: try to search for a subsite in the indexSearch or link this side directly.
The link is working but you are sent to the first parent side, which is accessable…
typolink checks with calling $GLOBALS[‘TSFE’]->sys_page->getPage
There is no check for parent sides.
(issue imported from #M4213)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
Files 1
History 9
-
Volker Graubaum commented 09/13/06, 15:56
-
Christian Kuhn commented 06/27/09, 01:08
confirmed for 4.3, please take a look at the duplicate issues for a “how to reproduce”
-
Christian Kuhn changed category removed the assignee target version 08/08/11, 10:37
-
Riccardo De Contardi changed category Is Regression 0 11/01/15, 12:09
-
Dima Nozdrin changed Related to #87025 11/30/18, 16:10
-
Susanne Moog changed Complexity hard Sprint Focus On Location Sprint 08/05/22, 13:20
-
Oliver Hader changed Sprint Focus
On Location Sprint11/03/22, 09:04 -
Benni Mack changed Sprint Focus Stabilization Sprint 06/06/23, 13:04
-
Christian Kuhn commented and changed status
AcceptedClosed 09/01/23, 09:33I hope it’s ok to close here since so much happened over the years that we should start with a fresh issue if there are still problems.
To files has to be changed
1) class.tslib_content.php
change line 5193 $page = $GLOBALS[‘TSFE’]->sys_page->getPage($link_param,$disableGroupAccessCheck);
to
$page = $GLOBALS[‘TSFE’]->sys_page->getPage($link_param,$disableGroupAccessCheck,TRUE);
(a third parameter is added for getPage)
2) class.t3lib_page.php
Line 184ff
Change the function get Page and add the function checkPage