[BUGFIX] Pass frontend groups to FrontendGroupRestriction
FrontendRestrictionContainer supports the usage of a local Context, but isn't passing the frontend group settings to the FrontendGroupRestriction. This commit extends the FrontendRestrictionContainer and ensures the frontend groups from the local environment are passed, improving the possibility to use simulated environments. Resolves: #100023 Releases: main, 11.5 Change-Id: Ie43911cce244acd6bbed54dd56d7d74f6fd24466 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77940 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Rafael Kähm <rafael.kaehm@dkd.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Rafael Kähm <rafael.kaehm@dkd.de>
Showing
- typo3/sysext/core/Classes/Database/Query/Restriction/FrontendRestrictionContainer.php 4 additions, 0 deletions...tabase/Query/Restriction/FrontendRestrictionContainer.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php 29 additions, 1 deletion...se/Query/Restriction/FrontendRestrictionContainerTest.php
Please register or sign in to comment