[TYPO3-english] Rights management and TS templates access
Steffen Gebert
steffen at steffen-gebert.de
Mon Jan 18 15:34:30 CET 2010
Am 18.01.2010, 15:26 Uhr, schrieb Rachel Foucard <rfoucard at w-seils.com>:
> Hi,
>
> I have a question : It seems that non admin users can't have any access
> to
> TypoScript templates. This is explained in documentation
> "doc_code_inside" :
> http://typo3.org/documentation/document-library/core-documentation/doc_core_inside/4.2.0/view/2/4/#id4149905
> It's frustrating, but legitimate.
> However, it's very easy to work around the restriction by outsourcing
> typoscript in files :
> http://typo3.org/documentation/document-library/core-documentation/doc_core_inside/4.2.0/view/2/4/#id4149905
> Would not it be better to allow at least the module web>template with the
> constant editor and the typoscript object browser, rather incite to go
> through external files?
You can set the following line in extTables.php
$TCA['sys_template']['ctrl']['adminOnly'] = 0;
If you want to include it in a custom extension, prepend it by
t3lib_div::loadTCA('sys_template');
and place it there in ext_tables.php
Then template records are visible to all users and you can disable the
unwanted fields by PageTS.
Template record is accessible via the List module.
Don't know further ways...
Steffen
More information about the TYPO3-english
mailing list