#111573The list of frontend user groups that a backend user may simulate is only available inside the admin panel
Description
The preview module of the admin panel shows the frontend user groups that the current backend user may simulate. The rule is in the internal class TYPO3\CMS\Adminpanel\Repositories\FrontendGroupsRepository, which reads the backend user from $GLOBALS['BE_USER'] and gets its connection through GeneralUtility::makeInstance(). Other core code that needs the same answer for a given backend user cannot use this rule. Move the rule into an internal core service that takes the backend user as an argument and gets the connection pool through dependency injection. The admin panel uses the new service. The behaviour does not change.
Reviews 1
Related issues 1
History 23
-
Matthias Vogel changed Related to #110664 11/25/26, 09:05
-
Gerrit Code Review pushed patch set 1 for main to change 98001 status
NewUnder Review 11/25/26, 09:09 -
Matthias Vogel changed parent task #111576 11/25/26, 13:23