Actions
Bug #89633
closedBE user in FE context
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2019-11-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When using the context API to retrieve information regarding a logged in BE user the information is just valid in case a admin-be-user is logged in. The following just works for admin-be-users:
$context = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Context\Context::class);
$beUserLoggedIn = $context->getPropertyFromAspect('backend.user', 'isLoggedIn');
Actions