diff --git a/Resources/Core/Functional/Extensions/json_response/Classes/Middleware/BackendUserHandler.php b/Resources/Core/Functional/Extensions/json_response/Classes/Middleware/BackendUserHandler.php index 1b002c1d..860bbab6 100644 --- a/Resources/Core/Functional/Extensions/json_response/Classes/Middleware/BackendUserHandler.php +++ b/Resources/Core/Functional/Extensions/json_response/Classes/Middleware/BackendUserHandler.php @@ -55,6 +55,10 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface // Init backend user if found in database $backendUser = GeneralUtility::makeInstance(FrontendBackendUserAuthentication::class); $backendUser->user = $row; + $backendUser->uc = isset($row['uc']) ? unserialize($row['uc']) : []; + $backendUser->initializeUserSessionManager(); + $backendUser->fetchGroupData(); + $workspaceId = $workspaceId ?? 0; if ($workspaceId !== null) { // Force backend user into given workspace, can be 0, too. $backendUser->setTemporaryWorkspace($workspaceId);