On Monday, June 21, 2010 15:57:47 aspineux wrote: > Hello > I have a manager user and I want to be able to switch to another > 'normal' user identity and back to the manager. > The goal is to see the application as any user without having to login > as them. > > I thing the easiest way is to modify the authtkt cookie. > Any comment, idea ?
I'd say the best way is to have an additional preview-parameter, and to create a predicate that is driven by that parameter. So in your templates, where you decide to show certain things for the admin only, the predicate will prevent them from appearing nonetheless. Diez -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

