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
-~----------~----~----~----~------~----~------~--~---

Reply via email to