Bug #87895

ViewHelper <f:be.security.ifAuthenticated> does not work for editors

Added by Marco Kuprat 8 months ago. Updated 6 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-03-13
Due date:
% Done:

0%

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.


Related issues

Related to TYPO3 Core - Bug #86542: Override admin panel settings does nothing Needs Feedback 2018-10-02

History

#1 Updated by Christian Eßl 6 months 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

#2 Updated by Marco Kuprat 6 months 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.

#3 Updated by Riccardo De Contardi 3 months ago

  • Related to Bug #86542: Override admin panel settings does nothing added

Also available in: Atom PDF