[TYPO3-core] RFC Bug #11038: Optimize loading of frontend user groups

Steffen Kamper info at sk-typo3.de
Thu May 21 13:53:15 CEST 2009


Rupert Germann schrieb:
> hey,
> 
> please don't give a "+ 1 by reading" to such crucial changes!
> 
> the call to initUserGroups() calls fe_user->fetchGroupData() which is indeed
> an expensive operation but it also sets the vars "$this->loginUser"
> and "$this->gr_list".
> 
> especially gr_list is used at many places and it is not set anymore now.
> One effect of this missing gr_list is, that the complete "enableFields"
> stuff works differently -> means f.e. that a function like
> cobj->getTreeList seems to ignore the "$depth" parameter. This is caused by
> a call to $GLOBALS['TSFE']->checkEnableFields() which expects a gr_list.
> 
> please revert this change.
> 
> greets
> Rupert
> 

just discovered also a problem with a site using user protected pages. 
After this patch also unprotected pages aren't visible.

I will revert this patch in some minutes.

vg Steffen


More information about the TYPO3-team-core mailing list