[BUGFIX] Adjust visibility of setUp() and tearDown()
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 // Module System > Backend Users
6 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
7 'TYPO3.CMS.' . $_EXTKEY,
8 'system',
9 'tx_Beuser',
10 'top',
11 array(
12 'BackendUser' => 'index, addToCompareList, removeFromCompareList, compare, online, terminateBackendUserSession'
13 ),
14 array(
15 'access' => 'admin',
16 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-beuser.png',
17 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
18 )
19 );
20
21 // Module System > Access
22 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
23 'TYPO3.CMS.' . $_EXTKEY,
24 'system',
25 'tx_Permission',
26 'top',
27 array(
28 'Permission' => 'index, edit, update'
29 ),
30 array(
31 'access' => 'admin',
32 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-permission.png',
33 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod_permission.xlf',
34 'navigationComponentId' => 'typo3-pagetree'
35 )
36 );
37
38 // Register AJAX Controller
39 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('PermissionAjaxController::dispatch',
40 \TYPO3\CMS\Beuser\Controller\PermissionAjaxController::class . '->dispatch');
41 }