[TASK] Extbase commands do not need to ensure admin role 50/51250/6
authorBenni Mack <benni@typo3.org>
Mon, 27 Mar 2017 07:39:34 +0000 (09:39 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 27 Mar 2017 08:33:17 +0000 (10:33 +0200)
commit496e1673236023cfc8e2b9226cf46365b1235084
treea7d7c87c537743f09d855a23ee9d2143e207dd14
parent5b8922dc6cd1f0a42af02592b379ca11a57a5ef1
[TASK] Extbase commands do not need to ensure admin role

The methods in Extbase's command controller to request
the admin role for $BE_USER are not needed anymore,
because CLI users are always admins nowadays.

The methods are therefore marked as deprecated.

Resolves: #79591
Releases: master
Change-Id: I79865af20a45d455a9417ceca42e4068cc15dc3f
Reviewed-on: https://review.typo3.org/51250
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-79591-ExtbaseCommandControllersAdminRoleMethods.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php