Bug #91045
closedLanguage overlay does not respect $disableGroupAccessCheck
0%
Description
When calling getPage on PageRepository with $disableGroupAccessCheck = true, this argument has no effect for language overlays.
Restrictions in Method getPageOverlaysForLanguageUids are hardcoded to frontend context:
$queryBuilder->setRestrictions(GeneralUtility::makeInstance(FrontendRestrictionContainer::class));
This is an issue when generating links, through Solr indexing service. As an example, links to a user (fe_user records) profile page which has an frontend access group.
Generated links will always use the default language slug which leads to invalid links.
Solution: remove group check from restrictions when getPage is called with $disableGroupAccessCheck = true
Updated by Christian Eßl over 4 years ago
- Has duplicate Bug #90842: FE user restriction on pages and link incl. linkAccessRestrictedPages create wrong URLs added
Updated by Christian Eßl over 4 years ago
- Is duplicate of Bug #87969: Page route for translated page is not generated correctly when page has frontend group access restrictions added
Updated by Christian Eßl over 4 years ago
Hi, can you test this patch:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/63963
This should fix the problem.
Updated by Benni Mack over 4 years ago
- Status changed from New to Resolved
Applied in changeset 56269a975cb2d71bada701796f2c20f2fc68b86e.