[TYPO3-dev] Changing TCA for certain BE users/groups

Steffen Müller typo3 at t3node.com
Fri Feb 13 13:59:51 CET 2009


Hi.

On 13.02.2009 11:53 Steffen Gebert wrote:
> Peter Russ wrote:
>>> Any suggestions?
>>>
> Shouldn't extension tcamanipulate work? You can manipulate TCA with Page TS (and Page TS with User TS in group using page.xxx AFAIK).
> 

you mean:
page.TCA.tx_myext_tbl.columns.myfield.config.readOnly = 0

That would be cool, but unfortunately it doesn't work.
The extension uses the hook:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp'][]
but it seems that $GLOBALS['TCA'] in this phase only contains ctrl and
feInterface section. columns is missing.

Is there another hook, processed later when the full TCA is loaded?

-- 
cheers,
Steffen

http://www.t3node.com/




More information about the TYPO3-dev mailing list