[TASK] Remove checkbox "Include Access List" in be_groups
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / be_groups.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'title',
5 'tstamp' => 'tstamp',
6 'crdate' => 'crdate',
7 'cruser_id' => 'cruser_id',
8 'delete' => 'deleted',
9 'default_sortby' => 'ORDER BY title',
10 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
11 'adminOnly' => 1,
12 'rootLevel' => 1,
13 'typeicon_classes' => array(
14 'default' => 'status-user-group-backend'
15 ),
16 'enablecolumns' => array(
17 'disabled' => 'hidden'
18 ),
19 'title' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups',
20 'useColumnsForDefaultValues' => 'lockToDomain, file_permissions',
21 'dividers2tabs' => TRUE,
22 'versioningWS_alwaysAllowLiveEdit' => TRUE,
23 'searchFields' => 'title'
24 ),
25 'interface' => array(
26 'showRecordFieldList' => 'title, db_mountpoints, file_mountpoints, file_permissions, tables_select, tables_modify, pagetypes_select, non_exclude_fields, groupMods, lockToDomain, description'
27 ),
28 'columns' => array(
29 'title' => array(
30 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.title',
31 'config' => array(
32 'type' => 'input',
33 'size' => '25',
34 'max' => '50',
35 'eval' => 'trim,required'
36 )
37 ),
38 'db_mountpoints' => array(
39 'label' => 'LLL:EXT:lang/locallang_tca.xlf:db_mountpoints',
40 'config' => array(
41 'type' => 'group',
42 'internal_type' => 'db',
43 'allowed' => 'pages',
44 'size' => '3',
45 'maxitems' => 100,
46 'autoSizeMax' => 10,
47 'show_thumbs' => '1',
48 'wizards' => array(
49 'suggest' => array(
50 'type' => 'suggest'
51 )
52 )
53 )
54 ),
55 'file_mountpoints' => array(
56 'label' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints',
57 'config' => array(
58 'type' => 'select',
59 'foreign_table' => 'sys_filemounts',
60 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
61 'size' => '3',
62 'maxitems' => 100,
63 'autoSizeMax' => 10,
64 'iconsInOptionTags' => 1,
65 'wizards' => array(
66 '_PADDING' => 1,
67 '_VERTICAL' => 1,
68 'edit' => array(
69 'type' => 'popup',
70 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_edit_title',
71 'module' => array(
72 'name' => 'wizard_edit',
73 ),
74 'popup_onlyOpenIfSelected' => 1,
75 'icon' => 'edit2.gif',
76 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
77 ),
78 'add' => array(
79 'type' => 'script',
80 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_add_title',
81 'icon' => 'add.gif',
82 'params' => array(
83 'table' => 'sys_filemounts',
84 'pid' => '0',
85 'setValue' => 'prepend'
86 ),
87 'module' => array(
88 'name' => 'wizard_add'
89 )
90 ),
91 'list' => array(
92 'type' => 'script',
93 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_list_title',
94 'icon' => 'list.gif',
95 'params' => array(
96 'table' => 'sys_filemounts',
97 'pid' => '0'
98 ),
99 'module' => array(
100 'name' => 'wizard_list'
101 )
102 )
103 )
104 )
105 ),
106 'file_permissions' => array(
107 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms',
108 'config' => array(
109 'type' => 'select',
110 'items' => array(
111 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder', '--div--', 'apps-filetree-folder-default'),
112 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_read', 'readFolder', 'apps-filetree-folder-default'),
113 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_write', 'writeFolder', 'apps-filetree-folder-default'),
114 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_add', 'addFolder', 'apps-filetree-folder-default'),
115 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_rename', 'renameFolder', 'apps-filetree-folder-default'),
116 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_move', 'moveFolder', 'apps-filetree-folder-default'),
117 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_copy', 'copyFolder', 'apps-filetree-folder-default'),
118 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_delete', 'deleteFolder', 'apps-filetree-folder-default'),
119 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_recursivedelete', 'recursivedeleteFolder', 'apps-filetree-folder-default'),
120 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files', '--div--', 'mimetypes-other-other'),
121 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_read', 'readFile', 'mimetypes-other-other'),
122 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_write', 'writeFile', 'mimetypes-other-other'),
123 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_add', 'addFile', 'mimetypes-other-other'),
124 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_upload', 'files_upload', 'mimetypes-other-other'),
125 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_rename', 'renameFile', 'mimetypes-other-other'),
126 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_move', 'moveFile', 'mimetypes-other-other'),
127 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_copy', 'copyFile', 'mimetypes-other-other'),
128 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_unzip', 'unzipFile', 'mimetypes-other-other'),
129 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_delete', 'deleteFile', 'mimetypes-other-other')
130 ),
131 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
132 'size' => 16,
133 'maxitems' => 16,
134 'itemListStyle' => 'width:500px',
135 'default' => 'readFolder,writeFolder,addFolder,renameFolder,moveFolder,deleteFolder,readFile,writeFile,addFile,renameFile,moveFile,files_copy,deleteFile'
136 )
137 ),
138 'workspace_perms' => array(
139 'label' => 'LLL:EXT:lang/locallang_tca.xlf:workspace_perms',
140 'config' => array(
141 'type' => 'check',
142 'items' => array(
143 array('LLL:EXT:lang/locallang_tca.xlf:workspace_perms_live', 0)
144 ),
145 'default' => 0
146 )
147 ),
148 'pagetypes_select' => array(
149 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.pagetypes_select',
150 'config' => array(
151 'type' => 'select',
152 'special' => 'pagetypes',
153 'size' => '5',
154 'autoSizeMax' => 50,
155 'maxitems' => 20,
156 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
157 'iconsInOptionTags' => 1
158 )
159 ),
160 'tables_modify' => array(
161 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_modify',
162 'config' => array(
163 'type' => 'select',
164 'special' => 'tables',
165 'size' => '5',
166 'autoSizeMax' => 50,
167 'maxitems' => 100,
168 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
169 'iconsInOptionTags' => 1
170 )
171 ),
172 'tables_select' => array(
173 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_select',
174 'config' => array(
175 'type' => 'select',
176 'special' => 'tables',
177 'size' => '5',
178 'autoSizeMax' => 50,
179 'maxitems' => 100,
180 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
181 'iconsInOptionTags' => 1
182 )
183 ),
184 'non_exclude_fields' => array(
185 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.non_exclude_fields',
186 'config' => array(
187 'type' => 'select',
188 'special' => 'exclude',
189 'size' => '25',
190 'maxitems' => 1000,
191 'autoSizeMax' => 50,
192 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
193 'itemListStyle' => 'width:500px'
194 )
195 ),
196 'explicit_allowdeny' => array(
197 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.explicit_allowdeny',
198 'config' => array(
199 'type' => 'select',
200 'special' => 'explicitValues',
201 'maxitems' => 1000,
202 'renderMode' => 'checkbox'
203 )
204 ),
205 'allowed_languages' => array(
206 'label' => 'LLL:EXT:lang/locallang_tca.xlf:allowed_languages',
207 'config' => array(
208 'type' => 'select',
209 'special' => 'languages',
210 'maxitems' => 1000,
211 'renderMode' => 'checkbox'
212 )
213 ),
214 'custom_options' => array(
215 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.custom_options',
216 'config' => array(
217 'type' => 'select',
218 'special' => 'custom',
219 'maxitems' => 1000,
220 'renderMode' => 'checkbox'
221 )
222 ),
223 'hidden' => array(
224 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
225 'config' => array(
226 'type' => 'check',
227 'default' => '0'
228 )
229 ),
230 'lockToDomain' => array(
231 'label' => 'LLL:EXT:lang/locallang_tca.xlf:lockToDomain',
232 'config' => array(
233 'type' => 'input',
234 'size' => '20',
235 'eval' => 'trim',
236 'max' => '50',
237 'softref' => 'substitute'
238 )
239 ),
240 'groupMods' => array(
241 'label' => 'LLL:EXT:lang/locallang_tca.xlf:userMods',
242 'config' => array(
243 'type' => 'select',
244 'special' => 'modListGroup',
245 'size' => '5',
246 'autoSizeMax' => 50,
247 'maxitems' => 100,
248 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
249 'iconsInOptionTags' => 1
250 )
251 ),
252 'description' => array(
253 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
254 'config' => array(
255 'type' => 'text',
256 'rows' => 5,
257 'cols' => 30
258 )
259 ),
260 'TSconfig' => array(
261 'label' => 'LLL:EXT:lang/locallang_tca.xlf:TSconfig',
262 'config' => array(
263 'type' => 'text',
264 'cols' => '40',
265 'rows' => '5',
266 'softref' => 'TSconfig'
267 ),
268 'defaultExtras' => 'fixed-font : enable-tab'
269 ),
270 'hide_in_lists' => array(
271 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.hide_in_lists',
272 'config' => array(
273 'type' => 'check',
274 'default' => 0
275 )
276 ),
277 'subgroup' => array(
278 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.subgroup',
279 'config' => array(
280 'type' => 'select',
281 'foreign_table' => 'be_groups',
282 'foreign_table_where' => 'AND NOT(be_groups.uid = ###THIS_UID###) AND be_groups.hidden=0 ORDER BY be_groups.title',
283 'size' => '5',
284 'autoSizeMax' => 50,
285 'maxitems' => 20,
286 'iconsInOptionTags' => 1
287 )
288 ),
289 'category_perms' => array(
290 'label' => 'LLL:EXT:lang/locallang_tca.xlf:category_perms',
291 'config' => array(
292 'type' => 'select',
293 'foreign_table' => 'sys_category',
294 'foreign_table_where' => ' AND (sys_category.sys_language_uid = 0 OR sys_category.l10n_parent = 0) ORDER BY sys_category.sorting',
295 'renderMode' => 'tree',
296 'treeConfig' => array(
297 'parentField' => 'parent',
298 'appearance' => array(
299 'expandAll' => FALSE,
300 'showHeader' => FALSE,
301 'maxLevels' => 99,
302 ),
303 ),
304 'size' => 10,
305 'autoSizeMax' => 20,
306 'minitems' => 0,
307 'maxitems' => 9999
308 )
309 )
310 ),
311 'types' => array(
312 '0' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
313 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights;;;;1-1-1, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny , allowed_languages;;;;2-2-2, custom_options;;;;3-3-3,
314 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, file_mountpoints;;;;3-3-3, file_permissions, category_perms,
315 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain;;;;1-1-1, hide_in_lists;;;;2-2-2, TSconfig;;;;3-3-3,
316 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended'),
317 )
318 );