Project

General

Profile

Actions

Bug #81266

closed

typoscript condition: usergroup doesn`t work as expected and documented

Added by Oliver Kleinecke over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2017-05-19
Due date:
% Done:

0%

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

Description

Hi!
Just experienced the following problem --

I have a usergroup with id 11, which is meant to be a specific access group.
For testing purposes, I have made a very simple typoscript like this :

page = PAGE

page.10 = TEXT

[usergroup = 11]
page.10.value = authorized
[ELSE]
page.10.value = unauthorized
[GLOBAL]

....

As stated in any doc, this should work perfectly fine. In fact, ALL users, even those that are members of that specific group get the value of "unauthorized"
.. if I use loginUser condition, everything works as expected, so I assume this is nothing I am doing wrong. If so, please tell me. Otherwise, please try to reproduce and fix.
Thanks !

Actions

Also available in: Atom PDF