adam schrieb:
> i am waiting to put this into a template so how would i go about using
> has_permission within there considering its and import from
> repoze.what.predicates

"predicates" should be available in all templates. I.e. you can write 
py:if="predicates.has_permission('full')".

-- Christoph

--

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=.


Reply via email to