adam schrieb:
> i have an index page and i want to show some information if the user
> logged in has full permissions. I am try
>
> <div py:if="request.identity.permissions =='full' ">dsfdsfdsf</div>
>
> and getting nothing, why?
TG1 or TG2? I think permissions is a set.
I.e. you have to write 'full' in identity.permissions or use
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=.