diff --git a/typo3/sysext/core/Documentation/Changelog/master/Feature-85017-UserTSconfigShowInConfigurationModule.rst b/typo3/sysext/core/Documentation/Changelog/master/Feature-85017-UserTSconfigShowInConfigurationModule.rst new file mode 100644 index 0000000000000000000000000000000000000000..c31b17df9768bce320db2620b894039fc9fb9c92 --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/master/Feature-85017-UserTSconfigShowInConfigurationModule.rst @@ -0,0 +1,21 @@ +.. include:: ../../Includes.txt + +============================================================= +Feature: #85017 - User TSconfig shown in Configuration module +============================================================= + +See :issue:`85017` + +Description +=========== + +The user TSconfig array of the currently logged in user can be surfed in +the System -> Configuration module. + + +Impact +====== + +Backend administrators can check their user TSconfig in the configuration module. + +.. index:: Backend, TSConfig \ No newline at end of file diff --git a/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php b/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php index 6518b8d49600fb5c9f5428e00319d0b90d83fc3c..ed6275cf6060f2333fd147eb9dac134e432ee67b 100644 --- a/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php +++ b/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php @@ -101,6 +101,10 @@ class ConfigurationController 'label' => 'beUser', 'type' => 'uc', ], + 'beUserTsConfig' => [ + 'label' => 'beUserTsConfig', + 'type' => 'beUserTsConfig', + ], 'beRoutes' => [ 'label' => 'routes', 'type' => 'routes', @@ -198,6 +202,8 @@ class ConfigurationController ArrayUtility::intersectRecursive($blindedConfigurationOptions[$globalArrayKey], $renderArray) ); } + } elseif ($selectedTreeDetails['type'] === 'beUserTsConfig') { + $renderArray = $backendUser->getTSConfig(); } elseif ($selectedTreeDetails['type'] === 'uc') { $renderArray = $backendUser->uc; } elseif ($selectedTreeDetails['type'] === 'routes') { diff --git a/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf b/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf index 30a121c8f95d7621ba770749e7a60de6ef343841..ed3952833b16bcc9f0d35d4a459341cc82cb23a4 100644 --- a/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf +++ b/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf @@ -21,6 +21,9 @@ <trans-unit id="tbeStyles"> <source>$GLOBALS['TBE_STYLES'] (Skinning Styles)</source> </trans-unit> + <trans-unit id="beUserTsConfig"> + <source>$GLOBALS['BE_USER']->getTSConfig() (User TSconfig)</source> + </trans-unit> <trans-unit id="beUser"> <source>$GLOBALS['BE_USER']->uc (User Settings)</source> </trans-unit>