Bug #87895
closedViewHelper <f:be.security.ifAuthenticated> does not work for editors
0%
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.
Updated by Christian Eßl over 5 years ago
Has the non-admin user access permissions to the page? (Backend module "System" -> "Access")
Could be related to the problem I described here: https://forge.typo3.org/issues/86542#note-6
Updated by Marco Kuprat over 5 years ago
Christian Eßl wrote:
Has the non-admin user access permissions to the page? (Backend module "System" -> "Access")
Could be related to the problem I described here: https://forge.typo3.org/issues/86542#note-6
Yes, the editor has access permissions to the page.
Updated by Riccardo De Contardi about 5 years ago
- Related to Bug #86542: Override admin panel settings does nothing added
Updated by Susanne Moog over 4 years ago
- Status changed from New to Closed
I just tested with multiple editors, groups and/or admins - the view helper always works when a backend user is logged in. The global var for BE_USER is additionally set independently from users' rights. Going to close the issue now. Please feel free to comment if it pops up again.