forked from in2code-de/femanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
30 lines (26 loc) · 1.2 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.');
}
call_user_func(function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'In2code.femanager',
'Pi1',
[
'User' => 'list, show, validate, loginAs, imageDelete',
'New' => 'new, create, confirmCreateRequest, createStatus, resendConfirmationMail, resendConfirmationDialogue',
'Edit' => 'edit, update, delete, confirmUpdateRequest',
'Invitation' => 'new, create, edit, update, delete, status'
],
[
'User' => 'list, show, validate, loginAs, imageDelete',
'New' => 'new, create, confirmCreateRequest, createStatus, resendConfirmationMail, resendConfirmationDialogue',
'Edit' => 'edit, update, delete, confirmUpdateRequest',
'Invitation' => 'new, create, edit, update, delete'
]
);
// eID for Field Validation (FE)
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['femanagerValidate'] = 'EXT:femanager/Classes/Eid/ValidateEid.php';
// eID for FeUser simulation (FE)
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['femanagerLoginAs'] = 'EXT:femanager/Classes/Eid/LoginAsEid.php';
});