[BUGFIX] Do not override global BE_USER for user settings simulation 47/52547/4
authorMarkus Klein <markus.klein@typo3.org>
Fri, 21 Apr 2017 19:07:01 +0000 (21:07 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 21 Apr 2017 20:06:10 +0000 (22:06 +0200)
commitf18f72802fdbc35943ed0180c08705bf5e8ef58b
treedd3e7d7abf7a790f35036fe62e03f58abd7ff21c
parenta8a1567c8b6fc3b8184094df1bd83d3a8d319aac
[BUGFIX] Do not override global BE_USER for user settings simulation

Instead of replacing the global user for simulating another user
to edit user settings, store the "user to edit" in the controller.

This prevents a whole lot of possible errors.

Resolves: #80948
Releases: master, 8.7
Change-Id: I302fa9fc3cb17083f2285d786b2072607eb37bb6
Reviewed-on: https://review.typo3.org/52547
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php