[TASK] Protect user TSconfig properties in BackendUserAuthentication 40/56940/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 12 May 2018 15:27:55 +0000 (17:27 +0200)
committerAndreas Wolf <andreas.wolf@typo3.org>
Sun, 13 May 2018 08:25:55 +0000 (10:25 +0200)
commitf2476e38af0dcbdb122d2f131042286de11bc5da
tree1f7bac522bb26c092624376e4790b8e19bc6c85f
parenteaa591ac7767e35a74b35384e86664c78bc765ab
[TASK] Protect user TSconfig properties in BackendUserAuthentication

The patch sets all user TSconfig related properties of class
BackendUserAuthentication to protected. Existing usages of
property "userTS" are adapted to call getTSConfig() instead.

Resolves: #84984
Related: #84982
Releases: master
Change-Id: I6fd10164c29959e4e705699776d694d63d7f5596
Reviewed-on: https://review.typo3.org/56940
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
14 files changed:
typo3/sysext/backend/Classes/Form/FormDataProvider/UserTsConfig.php
typo3/sysext/backend/Classes/Toolbar/ClearCacheActionsHookInterface.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/UserTsConfigTest.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Database/QueryGenerator.php
typo3/sysext/core/Classes/Database/QueryView.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-84984-ProtectedUserTSconfigPropertiesInBackendUserAuthentication.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyProtectedMatcher.php