[BUGFIX] tt_content: exclude config fields 67/17767/3
authorFelix Kopp <felix-source@phorax.com>
Mon, 28 Jan 2013 15:45:44 +0000 (16:45 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 28 Jan 2013 17:57:24 +0000 (18:57 +0100)
Adds missing option to restrict access for properties
in tt_content elements within backend user group:

* imageorient (Image orientation)
* imagecols (Image columns)

Without those options no minimal configuration
for backend user privileges can be setup.

Fixes: #44890
Release: 6.0, 6.1
Change-Id: Ia5ed4779db27f90fb7d44eb47c3290c523027a21
Reviewed-on: https://review.typo3.org/17767
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tbl_tt_content.php

index 492ac0c..31d294d 100755 (executable)
@@ -737,6 +737,7 @@ $TCA['tt_content'] = array(
                        )
                ),
                'imageorient' => array(
+                       'exclude' => 1,
                        'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageorient',
                        'config' => array(
                                'type' => 'select',
@@ -1041,6 +1042,7 @@ $TCA['tt_content'] = array(
                        )
                ),
                'imagecols' => array(
+                       'exclude' => 1,
                        'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagecols',
                        'config' => array(
                                'type' => 'select',