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