Commit 866858c1 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Restrict em & lang module to system maintainer

Both extension manager and language pack adiminstration
change system configuration and should be restricted to
system maintainers.

Change-Id: I456ece7726b79a81c375eec0c949a5c63fd97df2
Resolves: #82395
Releases: master
Reviewed-on: https://review.typo3.org/54047

Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Benjamin Kott's avatarBenjamin Kott <benjamin.kott@outlook.com>
Tested-by: Benjamin Kott's avatarBenjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent abd10820
......@@ -14,6 +14,9 @@ are able to access the install tool modules from within the TYPO3 Backend, thus,
to modify the system-wide configuration located in :php:``$TYPO3_CONF_VARS``, respectively
LocalConfiguration.php.
Extension management and language pack handling are also "system management" and thus restricted
to the new system management role.
The list of allowed admins that are assigned as system maintainers can only be done within the TYPO3
Install Tool or by modifying the new configuration option :php:``TYPO3_CONF_VARS[SYS][systemMaintainers]``.
......
......@@ -18,7 +18,7 @@ if (TYPO3_MODE === 'BE') {
'Distribution' => 'show'
],
[
'access' => 'admin',
'access' => 'systemMaintainer',
'icon' => 'EXT:extensionmanager/Resources/Public/Icons/module-extensionmanager.svg',
'labels' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_mod.xlf',
]
......
......@@ -13,7 +13,7 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
'Language' => 'listLanguages, listTranslations, getTranslations, updateLanguage, updateTranslation, activateLanguage, deactivateLanguage, removeLanguage',
],
[
'access' => 'admin',
'access' => 'systemMaintainer',
'icon' => 'EXT:lang/Resources/Public/Icons/module-lang.svg',
'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod.xlf',
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment