forked from TYPO3-extensions/femanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
30 lines (26 loc) · 1.09 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'In2.' . $_EXTKEY,
'Pi1',
array(
'User' => 'list, show, fileUpload, fileDelete, validate',
'New' => 'create, new, confirmCreateRequest, createStatus',
'Edit' => 'edit, update, delete, confirmUpdateRequest',
'Invitation' => 'new, create, edit, update, delete, status'
),
array(
'User' => 'list, fileUpload, fileDelete, validate',
'New' => 'create, new, confirmCreateRequest, createStatus',
'Edit' => 'edit, update, delete, confirmUpdateRequest',
'Invitation' => 'new, create, edit, update, delete'
)
);
// eID for File Upload (FE)
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['femanagerFileUpload'] = 'EXT:femanager/Classes/Utility/Eid/FileUpload.php';
// eID for File Delete (FE)
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['femanagerFileDelete'] = 'EXT:femanager/Classes/Utility/Eid/FileDelete.php';
// eID for Field Validation (FE)
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['femanagerValidate'] = 'EXT:femanager/Classes/Utility/Eid/Validate.php';