Issue Bug Closed

#89633BE user in FE context

Roman Büchler 11/11/19, 07:09 updated 03/31/20, 09:55

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');

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.