More searching as per the post on the bottom of this page ( http://www.turbogears.org/2.0/docs/main/Auth/Authentication.html ) has led me to believe the solutions are in tg.identity, but I don't know where the documentation is.
El Tea On Jul 21, 1:42 pm, El Tea <[email protected]> wrote: > I have a pretty good grip on predicates. What I am not seeing in the > TG documentation is how to find user information for use in the > controllers and templates. What I want to do: > > a) Get the object for the current user. > b) Determine, in a template, if the current user's group is 'manager' > so I can render the page differently. > > My apologies if this is an easy one; I've been in the docs for an hour > and all I can find info on is authorization to protect areas of the > site. If you have a handy link with examples, I'd be happy to take > that. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

