Task #100023
closedFrontendRestrictionContainer should pass frontend groups to FrontendGroupRestriction
100%
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.
Updated by Markus Friedrich almost 2 years ago
IMHO it shouldn't be a problem to pass the frontend groups, I'll provide a patch so we can discuss on that basis.
In general I would be glad if we could adopt this for v12 and v11.
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77940
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77940
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77940
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77993
Updated by Markus Friedrich almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3cb1707199cd06675f2b39bc71b67822ccf67d8f.