[!!!][TASK] Rework user group fetching for frontend users
This change adapts the frontend user resolving to use the same functionality as in backend users, which wasn't the case in the past 15 years. The newly introduced GroupResolver now also resolves groups for frontend users recursively, making the "getGroupsFE" and "authGroupsFE" functionality obsolete. The AuthenticationService->getGroups methods are removed, also the properties userTS, userData_change and TSdataArray have been made protected, as it is only used for internal purposes. The "userTSUpdated" flag has been removed and the property $TSdataArray has been marked as internal. Resolves: #93108 Releases: master Change-Id: I630be39e855d45802c0236a0a38acbc07e0dd812 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67177 Tested-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- typo3/sysext/core/Classes/Authentication/AbstractAuthenticationService.php 0 additions, 8 deletions.../Classes/Authentication/AbstractAuthenticationService.php
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 5 additions, 2 deletions...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/AuthenticationService.php 0 additions, 101 deletions...ext/core/Classes/Authentication/AuthenticationService.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 0 additions, 6 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Context/UserAspect.php 3 additions, 6 deletionstypo3/sysext/core/Classes/Context/UserAspect.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-93108-ReworkedInternalUserGroupFetchingForFrontendUsers.rst 68 additions, 0 deletions...108-ReworkedInternalUserGroupFetchingForFrontendUsers.rst
- typo3/sysext/core/Tests/Unit/Context/UserAspectTest.php 6 additions, 4 deletionstypo3/sysext/core/Tests/Unit/Context/UserAspectTest.php
- typo3/sysext/core/ext_localconf.php 1 addition, 1 deletiontypo3/sysext/core/ext_localconf.php
- typo3/sysext/felogin/Classes/Redirect/RedirectModeHandler.php 3 additions, 3 deletions...3/sysext/felogin/Classes/Redirect/RedirectModeHandler.php
- typo3/sysext/felogin/Classes/Service/UserService.php 1 addition, 1 deletiontypo3/sysext/felogin/Classes/Service/UserService.php
- typo3/sysext/fluid/Tests/Unit/ViewHelpers/Security/IfHasRoleViewHelperTest.php 3 additions, 3 deletions...sts/Unit/ViewHelpers/Security/IfHasRoleViewHelperTest.php
- typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php 31 additions, 73 deletions...end/Classes/Authentication/FrontendUserAuthentication.php
- typo3/sysext/frontend/Tests/Functional/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php 3 additions, 1 deletion...ion/TypoScript/ConditionMatching/ConditionMatcherTest.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 14 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php 25 additions, 0 deletions...figuration/ExtensionScanner/Php/PropertyPublicMatcher.php
Please register or sign in to comment