Bug #38448
closed
Condition adminUser in pageTSconfig not working
Added by Arno Dudek over 12 years ago.
Updated over 9 years ago.
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?
- Target version changed from 6.0.0-alpha3 to 6.0.1
- 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)?
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.
- 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.
Also available in: Atom
PDF