[TYPO3-dev] pi_linkToPage doesn't return correct links after fe-user change

Popy popy.dev at gmail.com
Sat Jul 7 23:35:12 CEST 2007


You have to reload many things in order it works... The group list is stored
in the TSFE object (as I remember) and is loaded just after the user object

2007/7/7, Martin Borer <mbarts at gmx.ch>:
>
> Hi list,
>
> My extension updates the field "usergroup" of the logged in fe-user
> (adds an new group). After this update, I also return a link by the
> function "pi_linkToPage" in the same script.
>
> The problem is, that this returned link is protected by the group I've
> added to the fe-user just some lines before calling the function
> "pi_linkToPage". So the link is generated with the "old" access state of
> the fe-user -> No linking. After a reload in the frontend, the link
> appears correct.
>
> My question:
> Is there any possibility to reload the access state, witch is used by
> the function "pi_linkToPage"?
>
> thx for your answers...
>
> Greets
> Martin
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>



-- 
Popy

Vulnerant omnes, ultima necat.

http://popy.sytes.net




More information about the TYPO3-dev mailing list