Project

General

Profile

Actions

Task #100023

closed

FrontendRestrictionContainer should pass frontend groups to FrontendGroupRestriction

Added by Markus Friedrich about 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2023-02-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

FrontendRestrictionContainer supports the usage of a local Context, but isn't passing the frontend group settings to the FrontendGroupRestriction.

As the FrontendGroupRestriction uses the global Context to fetch the frontend groups if no groups are passed, simulating an environment with differing user groups is currently not possible. In the case of EXT:solr a simulated environment is used for indexing, but currently the wrong records might be indexed, as the SQL statement is always build with the global frontend user groups.

Actions

Also available in: Atom PDF