[TYPO3-core] RFC Bug #11039: Simulating frontend user groups via admin panel does not work

Oliver Hader oliver at typo3.org
Sat May 23 16:20:00 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11039

Branch: Trunk

Problem:
The admin panel has a functionality to simulate frontend user groups
(Admin Panel > Preview). However, the submitted value is not set
corretly to BE_USER->uc and the simulation does not work at all.

Solution:
Since frontend editing and the admin panel were extracted so separate
parts during the development of TYPO3 4.3 the initialization of the
admin panel has to be executed explicitely. The method
$TSFE->determineId() sets the user group to be simulated to the current
frontend user object. Thus, the admin panel has to be initialized before
$TSFE->determineId() gets called.

Notes:
Thanks to Niels Fröhling for investigating and providing some details.
I'm going to commit this patch before releasing TYPO3 4.3-alpha3.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list