#106029$GLOBALS['BE_USER'] is not available in Configuration/TCA/Overrides/tt_content.php
Description
As it seems $GLOBALS[‘BE_USER’] does generally not seem to be available TCA definitions.
It rather should be – as it provides a bunch more flexibility when it comes to adjusting backend content element access.
But once again: Maybe I overlooked something here and it’s already possible. But I did not find anything in the documentation so far.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Garvin Hicking commented and changed status
NewRejected <span data-processor="relativetime" data-value="2025-01-30T13:20:54+00:00" > 01/30/25, 13:20 </span> -
Michael Perlbach commented <span data-processor="relativetime" data-value="2025-01-30T13:37:44+00:00" > 01/30/25, 13:37 </span>
I understand.
Is there any other way to have influence on the list of content elements displayed in the backend?
Maybe some hook? -
Garvin Hicking commented <span data-processor="relativetime" data-value="2025-01-30T13:44:08+00:00" > 01/30/25, 13:44 </span>
PSR events are a possibility.
The issue tracker here is not the best way to discuss options. Please see to join the slack community or talk.typo3.org to get feedback on solutions. -
Michael Perlbach commented <span data-processor="relativetime" data-value="2025-01-30T13:47:02+00:00" > 01/30/25, 13:47 </span>
ok – we already communicate on FB :-)
TCA is meant to be stateless; you cannot use BE User conditions there, because it needs to be cached without this context.
You need to use user / page TSconfig or TCA Events to influence the cached representation. Or you can use proc funcs for BE user related evaluations, or custom displayConds.
Hope you understand that I need to close this because TCA needs to remain like this conceptually.