Bug #91725

PageLinkBuilder: disableGroupAccessCheck doesn't work for translated pages with fegroup restriction

Added by Markus Müller 13 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-06-29
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

corresponding to https://review.typo3.org/c/Packages/TYPO3.CMS/+/64359 there is another issue with linking to translations of restricted pages.

Example (PID 10 is restricted to authenticated users): {f:uri.page(pageUid:'10', linkAccessRestrictedPages:'1')}

Link couldn't be generated because UnableToLinkException is thrown by PageLinkBuilder on line 218 (with fallback type 'strict')

The Problem is in method PageLinkBuilder::build on line 205: a new instance of PageRepository is instantiated, but in Methode PageRpository::getPageOverlay there is no hack like in the workaround above (reset of where_groupAccess in case of $disableGroupAccessCheck === true)


Related issues

Related to TYPO3 Core - Bug #90842: FE user restriction on pages and link incl. linkAccessRestrictedPages create wrong URLs Closed 2020-03-26

History

#1 Updated by Markus Klein 12 days ago

  • Related to Bug #90842: FE user restriction on pages and link incl. linkAccessRestrictedPages create wrong URLs added

Also available in: Atom PDF