Project

General

Profile

Actions

Bug #81266

closed

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

Added by Oliver Kleinecke about 7 years ago. Updated over 6 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 #1

Updated by Georg Ringer about 7 years ago

  • Status changed from New to Needs Feedback

I can't reproduce that in latest master. Maybe the usergroups get inherited by the usergroup with uid 11?

Actions #2

Updated by Riccardo De Contardi almost 7 years ago

@Oliver Kleinecke can you provide a detailed example of the configuration you use to experience this issue (including, as Georg Ringer wrote, the list of groups and their relations)?

Thank you.

Actions #3

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Needs Feedback to Closed

90 days without feedback -> closing it.

If you think that this is the wrong decision or experience the issue again or have more information about how to reproduce it, please reopen it or open a new issue with a reference to this one. Thank you.

Actions

Also available in: Atom PDF