TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
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/Resources/Private/Language/locallang_general.xlf:LGL.prependAtCopy',
12  'adminOnly' => true,
13  'rootLevel' => 1,
14  'typeicon_classes' => [
15  'default' => 'status-user-group-backend'
16  ],
17  'enablecolumns' => [
18  'disabled' => 'hidden'
19  ],
20  'title' => 'LLL:EXT:lang/Resources/Private/Language/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/Resources/Private/Language/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/Resources/Private/Language/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' => true,
48  'wizards' => [
49  'suggest' => [
50  'type' => 'suggest'
51  ]
52  ]
53  ]
54  ],
55  'file_mountpoints' => [
56  'label' => 'LLL:EXT:lang/Resources/Private/Language/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/Resources/Private/Language/locallang_tca.xlf:file_mountpoints_edit_title',
70  'module' => [
71  'name' => 'wizard_edit',
72  ],
73  'popup_onlyOpenIfSelected' => true,
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/Resources/Private/Language/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/Resources/Private/Language/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/Resources/Private/Language/locallang_tca.xlf:be_groups.fileoper_perms',
107  'config' => [
108  'type' => 'select',
109  'renderType' => 'selectCheckBox',
110  'items' => [
111  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder', '--div--', 'apps-filetree-folder-default'],
112  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_read', 'readFolder', 'apps-filetree-folder-default'],
113  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_write', 'writeFolder', 'apps-filetree-folder-default'],
114  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_add', 'addFolder', 'apps-filetree-folder-default'],
115  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_rename', 'renameFolder', 'apps-filetree-folder-default'],
116  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_move', 'moveFolder', 'apps-filetree-folder-default'],
117  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_copy', 'copyFolder', 'apps-filetree-folder-default'],
118  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_delete', 'deleteFolder', 'apps-filetree-folder-default'],
119  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.folder_recursivedelete', 'recursivedeleteFolder', 'apps-filetree-folder-default'],
120  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files', '--div--', 'mimetypes-other-other'],
121  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_read', 'readFile', 'mimetypes-other-other'],
122  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_write', 'writeFile', 'mimetypes-other-other'],
123  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_add', 'addFile', 'mimetypes-other-other'],
124  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_rename', 'renameFile', 'mimetypes-other-other'],
125  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_replace', 'replaceFile', 'mimetypes-other-other'],
126  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_move', 'moveFile', 'mimetypes-other-other'],
127  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_copy', 'copyFile', 'mimetypes-other-other'],
128  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.file_permissions.files_delete', 'deleteFile', 'mimetypes-other-other']
129  ],
130  'size' => 17,
131  'maxitems' => 17,
132  'default' => 'readFolder,writeFolder,addFolder,renameFolder,moveFolder,deleteFolder,readFile,writeFile,addFile,renameFile,replaceFile,moveFile,copyFile,deleteFile'
133  ]
134  ],
135  'workspace_perms' => [
136  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:workspace_perms',
137  'config' => [
138  'type' => 'check',
139  'items' => [
140  ['LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:workspace_perms_live', 0]
141  ],
142  'default' => 0
143  ]
144  ],
145  'pagetypes_select' => [
146  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.pagetypes_select',
147  'config' => [
148  'type' => 'select',
149  'renderType' => 'selectCheckBox',
150  'special' => 'pagetypes',
151  'size' => 5,
152  'autoSizeMax' => 50,
153  'maxitems' => 20,
154  ]
155  ],
156  'tables_modify' => [
157  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.tables_modify',
158  'config' => [
159  'type' => 'select',
160  'renderType' => 'selectCheckBox',
161  'special' => 'tables',
162  'size' => 5,
163  'autoSizeMax' => 50,
164  'maxitems' => 100,
165  ]
166  ],
167  'tables_select' => [
168  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.tables_select',
169  'config' => [
170  'type' => 'select',
171  'renderType' => 'selectCheckBox',
172  'special' => 'tables',
173  'size' => 5,
174  'autoSizeMax' => 50,
175  'maxitems' => 100,
176  ]
177  ],
178  'non_exclude_fields' => [
179  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.non_exclude_fields',
180  'config' => [
181  'type' => 'select',
182  'renderType' => 'selectCheckBox',
183  'special' => 'exclude',
184  'size' => 25,
185  'maxitems' => 1000,
186  'autoSizeMax' => 50,
187  ]
188  ],
189  'explicit_allowdeny' => [
190  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.explicit_allowdeny',
191  'config' => [
192  'type' => 'select',
193  'renderType' => 'selectCheckBox',
194  'special' => 'explicitValues',
195  'maxitems' => 1000,
196  ]
197  ],
198  'allowed_languages' => [
199  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:allowed_languages',
200  'config' => [
201  'type' => 'select',
202  'renderType' => 'selectCheckBox',
203  'special' => 'languages',
204  'maxitems' => 1000,
205  ]
206  ],
207  'custom_options' => [
208  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.custom_options',
209  'config' => [
210  'type' => 'select',
211  'renderType' => 'selectCheckBox',
212  'special' => 'custom',
213  'maxitems' => 1000,
214  ]
215  ],
216  'hidden' => [
217  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.disable',
218  'config' => [
219  'type' => 'check',
220  'default' => 0
221  ]
222  ],
223  'lockToDomain' => [
224  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:lockToDomain',
225  'config' => [
226  'type' => 'input',
227  'size' => 20,
228  'eval' => 'trim',
229  'max' => 50,
230  'softref' => 'substitute'
231  ]
232  ],
233  'groupMods' => [
234  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:userMods',
235  'config' => [
236  'type' => 'select',
237  'renderType' => 'selectCheckBox',
238  'special' => 'modListGroup',
239  'size' => 5,
240  'autoSizeMax' => 50,
241  'maxitems' => 100,
242  ]
243  ],
244  'description' => [
245  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.description',
246  'config' => [
247  'type' => 'text',
248  'rows' => 5,
249  'cols' => 30,
250  'max' => 2000,
251  ]
252  ],
253  'TSconfig' => [
254  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:TSconfig',
255  'config' => [
256  'type' => 'text',
257  'cols' => 40,
258  'rows' => 5
259  ],
260  'defaultExtras' => 'fixed-font : enable-tab'
261  ],
262  'hide_in_lists' => [
263  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.hide_in_lists',
264  'config' => [
265  'type' => 'check',
266  'default' => 0
267  ]
268  ],
269  'subgroup' => [
270  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.subgroup',
271  'config' => [
272  'type' => 'select',
273  'renderType' => 'selectMultipleSideBySide',
274  'foreign_table' => 'be_groups',
275  'foreign_table_where' => 'AND NOT(be_groups.uid = ###THIS_UID###) AND be_groups.hidden=0 ORDER BY be_groups.title',
276  'size' => 5,
277  'autoSizeMax' => 50,
278  'maxitems' => 20,
279  ]
280  ],
281  'category_perms' => [
282  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:category_perms',
283  'config' => [
284  'type' => 'select',
285  'renderType' => 'selectTree',
286  'foreign_table' => 'sys_category',
287  'foreign_table_where' => ' AND (sys_category.sys_language_uid = 0 OR sys_category.l10n_parent = 0) ORDER BY sys_category.sorting',
288  'treeConfig' => [
289  'parentField' => 'parent',
290  'appearance' => [
291  'expandAll' => false,
292  'showHeader' => false,
293  'maxLevels' => 99,
294  ],
295  ],
296  'size' => 20,
297  'minitems' => 0,
298  'maxitems' => 9999
299  ]
300  ]
301  ],
302  'types' => [
303  '0' => ['showitem' => '
304  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
305  title,subgroup,
306  --div--;LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.tabs.base_rights,
307  groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny, allowed_languages, custom_options,
308  --div--;LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces,
309  workspace_perms, db_mountpoints, file_mountpoints, file_permissions, category_perms,
310  --div--;LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:be_groups.tabs.options,
311  lockToDomain, TSconfig,
312  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
313  hidden,hide_in_lists,
314  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
315  description,
316  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
317  '],
318  ]
319 ];