Project

General

Profile

Actions

Bug #69892

closed

Condition usergroup in Backend does not work

Added by Petra Arentzen about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-09-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In Backend condition "usergroup" does never match.

I debugged the code a little bit and find out that in TYPO3\CMS\Backend\Configuration\TypoScript\ConditionMatching::evaluateCondition() the value of $GLOBALS['BE_USER'] is null.


[usergroup = 3]
TCEFORM.mytable1 {
fieldxy1.disabled = 1
}

First I tried

page.TCEFORM.mytable1 {
fieldxy1.disabled = 1
}

as described in [[https://docs.typo3.org/typo3cms/TSconfigReference/UserTsconfig/TopLevelObjects/Index.html]]

But this also seems not to work, maybe another bug.

For now I'm under too much time pressure to do more diagnostics.

Actions

Also available in: Atom PDF