Breaking: #93056 - Removed hooks when retrieving Backend user groups¶
See Issue #93056
When the user groups of a backend user are loaded, two hooks (before and after fetching) were in place to modify the list of groups.
This functionality is replaced by a new PHP
the hooks have been removed, and a new Event has been added instead.
Using those hooks has no effect anymore, as the hooks are never called in TYPO3 v11.
TYPO3 installations with custom extensions using these hooks, which is usually around enhancing the permission system or custom group resolving.
When user groups are loaded, for example when a backend editors’ groups and permissions
are calculated, a new PSR-14 event
AfterGroupsResolvedEvent is fired.
The hooks have been removed without deprecation in order to allow extensions to make their extension compatible with TYPO3 v10 (using the hooks), and TYPO3 v11 (use the PSR-14 instead).