TYPO3 CMS  TYPO3_6-2
be_groups.php
Go to the documentation of this file.
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_rename', 'renameFile', 'mimetypes-other-other'),
125  array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_move', 'moveFile', 'mimetypes-other-other'),
126  array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_copy', 'copyFile', 'mimetypes-other-other'),
127  array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_unzip', 'unzipFile', 'mimetypes-other-other'),
128  array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_delete', 'deleteFile', 'mimetypes-other-other')
129  ),
130  'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
131  'size' => 17,
132  'maxitems' => 17,
133  'itemListStyle' => 'width:500px',
134  'default' => 'readFolder,writeFolder,addFolder,renameFolder,moveFolder,deleteFolder,readFile,writeFile,addFile,renameFile,moveFile,files_copy,deleteFile'
135  )
136  ),
137  'workspace_perms' => array(
138  'label' => 'LLL:EXT:lang/locallang_tca.xlf:workspace_perms',
139  'config' => array(
140  'type' => 'check',
141  'items' => array(
142  array('LLL:EXT:lang/locallang_tca.xlf:workspace_perms_live', 0)
143  ),
144  'default' => 0
145  )
146  ),
147  'pagetypes_select' => array(
148  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.pagetypes_select',
149  'config' => array(
150  'type' => 'select',
151  'special' => 'pagetypes',
152  'size' => '5',
153  'autoSizeMax' => 50,
154  'maxitems' => 20,
155  'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
156  'iconsInOptionTags' => 1
157  )
158  ),
159  'tables_modify' => array(
160  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_modify',
161  'config' => array(
162  'type' => 'select',
163  'special' => 'tables',
164  'size' => '5',
165  'autoSizeMax' => 50,
166  'maxitems' => 100,
167  'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
168  'iconsInOptionTags' => 1
169  )
170  ),
171  'tables_select' => array(
172  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_select',
173  'config' => array(
174  'type' => 'select',
175  'special' => 'tables',
176  'size' => '5',
177  'autoSizeMax' => 50,
178  'maxitems' => 100,
179  'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
180  'iconsInOptionTags' => 1
181  )
182  ),
183  'non_exclude_fields' => array(
184  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.non_exclude_fields',
185  'config' => array(
186  'type' => 'select',
187  'special' => 'exclude',
188  'size' => '25',
189  'maxitems' => 1000,
190  'autoSizeMax' => 50,
191  'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
192  'itemListStyle' => 'width:500px'
193  )
194  ),
195  'explicit_allowdeny' => array(
196  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.explicit_allowdeny',
197  'config' => array(
198  'type' => 'select',
199  'special' => 'explicitValues',
200  'maxitems' => 1000,
201  'renderMode' => 'checkbox'
202  )
203  ),
204  'allowed_languages' => array(
205  'label' => 'LLL:EXT:lang/locallang_tca.xlf:allowed_languages',
206  'config' => array(
207  'type' => 'select',
208  'special' => 'languages',
209  'maxitems' => 1000,
210  'renderMode' => 'checkbox'
211  )
212  ),
213  'custom_options' => array(
214  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.custom_options',
215  'config' => array(
216  'type' => 'select',
217  'special' => 'custom',
218  'maxitems' => 1000,
219  'renderMode' => 'checkbox'
220  )
221  ),
222  'hidden' => array(
223  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
224  'config' => array(
225  'type' => 'check',
226  'default' => '0'
227  )
228  ),
229  'lockToDomain' => array(
230  'label' => 'LLL:EXT:lang/locallang_tca.xlf:lockToDomain',
231  'config' => array(
232  'type' => 'input',
233  'size' => '20',
234  'eval' => 'trim',
235  'max' => '50',
236  'softref' => 'substitute'
237  )
238  ),
239  'groupMods' => array(
240  'label' => 'LLL:EXT:lang/locallang_tca.xlf:userMods',
241  'config' => array(
242  'type' => 'select',
243  'special' => 'modListGroup',
244  'size' => '5',
245  'autoSizeMax' => 50,
246  'maxitems' => 100,
247  'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
248  'iconsInOptionTags' => 1
249  )
250  ),
251  'description' => array(
252  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
253  'config' => array(
254  'type' => 'text',
255  'rows' => 5,
256  'cols' => 30
257  )
258  ),
259  'TSconfig' => array(
260  'label' => 'LLL:EXT:lang/locallang_tca.xlf:TSconfig',
261  'config' => array(
262  'type' => 'text',
263  'cols' => '40',
264  'rows' => '5',
265  'softref' => 'TSconfig'
266  ),
267  'defaultExtras' => 'fixed-font : enable-tab'
268  ),
269  'hide_in_lists' => array(
270  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.hide_in_lists',
271  'config' => array(
272  'type' => 'check',
273  'default' => 0
274  )
275  ),
276  'subgroup' => array(
277  'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.subgroup',
278  'config' => array(
279  'type' => 'select',
280  'foreign_table' => 'be_groups',
281  'foreign_table_where' => 'AND NOT(be_groups.uid = ###THIS_UID###) AND be_groups.hidden=0 ORDER BY be_groups.title',
282  'size' => '5',
283  'autoSizeMax' => 50,
284  'maxitems' => 20,
285  'iconsInOptionTags' => 1
286  )
287  ),
288  'category_perms' => array(
289  'label' => 'LLL:EXT:lang/locallang_tca.xlf:category_perms',
290  'config' => array(
291  'type' => 'select',
292  'foreign_table' => 'sys_category',
293  'foreign_table_where' => ' AND (sys_category.sys_language_uid = 0 OR sys_category.l10n_parent = 0) ORDER BY sys_category.sorting',
294  'renderMode' => 'tree',
295  'treeConfig' => array(
296  'parentField' => 'parent',
297  'appearance' => array(
298  'expandAll' => FALSE,
299  'showHeader' => FALSE,
300  'maxLevels' => 99,
301  ),
302  ),
303  'size' => 10,
304  'autoSizeMax' => 20,
305  'minitems' => 0,
306  'maxitems' => 9999
307  )
308  )
309  ),
310  'types' => array(
311  '0' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
312  --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,
313  --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,
314  --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,
315  --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended'),
316  )
317 );
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]