Actions
Bug #87895
closedViewHelper <f:be.security.ifAuthenticated> does not work for editors
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-03-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The description says:
Everything inside the <f:be.ifAuthenticated> tag is being displayed if you are authenticated with any BE user account.
This works only if the user is logged in as admin, not if he is logged in as editor.
The method "evaluateCondition" returns:
return isset($GLOBALS['BE_USER']) && $GLOBALS['BE_USER']->user['uid'] > 0;
But $GLOBALS['BE_USER'] is null for editors.
Actions