[BUGFIX] Make admin modules only available for admins 86/25186/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 6 Nov 2013 17:53:31 +0000 (18:53 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 7 Nov 2013 07:47:38 +0000 (08:47 +0100)
The extension manager and backend user module
are targeted for admins only.
Reflect that in the module configuration.

Releases: 6.2, 6.1, 6.0
Change-Id: I3604fd245c712a41f70c6e1672a238dcdbaaeddc
Reviewed-on: https://review.typo3.org/25186
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/beuser/ext_tables.php
typo3/sysext/extensionmanager/ext_tables.php

index 000fd35..d2c56ae 100755 (executable)
@@ -13,7 +13,7 @@ if (TYPO3_MODE === 'BE') {
                        'BackendUser' => 'index, addToCompareList, removeFromCompareList, compare, online, terminateBackendUserSession'
                ),
                array(
-                       'access' => 'user,group',
+                       'access' => 'admin',
                        'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
                        'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
                )
index 6da9ee3..5139355 100644 (file)
@@ -18,7 +18,7 @@ if (TYPO3_MODE === 'BE') {
                        'Distribution' => 'welcome'
                ),
                array(
-                       'access' => 'user,group',
+                       'access' => 'admin',
                        'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module.png',
                        'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
                )