[TASK] Centralize Backend User Session Repository
Logic around Backend User Sessions and its access across the EXT:beuser backend module is now encapsulated and streamlined: * The BackendUserSessionRepository does not inherit from Extbase anymore, as there is nothing needed here * No ObjectManager is needed, GeneralUtility can be used instead * All access to the actual sessionBackend is now placed inside this method. This allows to further streamline the User Session handling at a later stage. Resolves: #93017 Releases: master Change-Id: I02ab22d90e570cd04f4e6a3ea96412dfbf247967 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67045 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/beuser/Classes/Controller/BackendUserController.php 6 additions, 30 deletions...ysext/beuser/Classes/Controller/BackendUserController.php
- typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php 41 additions, 21 deletions...lasses/Domain/Repository/BackendUserSessionRepository.php
- typo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php 1 addition, 3 deletionstypo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php
- typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserSessionRepositoryTest.php 0 additions, 35 deletions...it/Domain/Repository/BackendUserSessionRepositoryTest.php
Please register or sign in to comment