Bug #38448
closedCondition adminUser in pageTSconfig not working
0%
Description
Using adminUser in userTSconfig like
[adminUser = 1] options.pageTree.showPageIdWithTitle = 1 [end]
Condition not working if I'm logged in as admin.
Looking in t3lib/matchcondition/class.t3lib_matchcondition_backend.php $this->isUserLoggedIn() returns false cause $GLOBALS['BE_USER'] is empty.
Can sombody confirm this?
Updated by Helmut Hummel almost 12 years ago
- Target version changed from 6.0.0-alpha3 to 6.0.1
Updated by Wouter Wolters almost 10 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?
Updated by Arno Dudek almost 10 years ago
I found or there is an alternate for the same behaviour:
[globalVar = BE_USER|user|admin = 0]
I'm not shure if the condition adminUser
is still an option or if it's obsolete.
Updated by Riccardo De Contardi over 9 years ago
- Status changed from Needs Feedback to Closed
As far as I can see from the TSCONFIG documentation, [adminuser] is not marked as obsolele/deprecated condition
Test done with TYPO3 CMS 6.2.12
1. Create a group:
- name: "pincopalli"
- tab options > tsconfig:
[adminUser = 1] options.pageTree.showPageIdWithTitle = 1 [global]
2. assign pages to "pincopalli" group
3. create the users typo3admin (admin) and tizioqualunque (not admin)
4. assign both to group "pincopalli"
RESULT:
"typo3admin" sees the Id next to the title, while "tizioqualunque" not.