[TYPO3-core] RFC #13741: cache_treelist does not take FE users into account

Susanne Moog typo3 at susannemoog.de
Tue Apr 20 09:54:37 CEST 2010


Hi,

On 15.04.2010 16:51, Dmitry Dulepov wrote:
> This is SVN patch request.
> 
> Type: bug, major
> 
> Branches: 4.2, 4.3, trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=13741
> 
> Problem: cache_treelist table caches the tree of pages for the current
> user. User group list of the current is not taken into account. This causes
> wrong cached tree for the user. If the first user was anonymous, logged in
> users will not see pages visible to them. The opposite is not true because
> core checks access details elsewhere. This bug affects menu generation: if
> anonymous user was the first to visit pages, logged–in users will not see
> pages accessible to them in the menu.
> 
> Solution: add user's group list to the md5 hash of the tree list.

+1 by reading and testing.

Reproduced with:
page.50 = HMENU
page.50.special = updated
page.50.1 = TMENU
page.50.1 {
  NO = 1
}
​
and a "show at any login" page (first visited as logged out user, then
visited as logged in user).

Kind regards,

Susanne



More information about the TYPO3-team-core mailing list