[Zope] Question about Roles
Allen Schmidt Sr.
aschmidt at fredericksburg.com
Tue Aug 5 11:19:48 EDT 2008
That worked perfectly.
Thanks Matt!
Allen
Behrens Matt - Grand Rapids wrote:
> You need to check to see if said user has that role on the object in
> question. getRoles is only going to show you roles assigned in the User
> Folder, not local roles.
>
> This code is doing a similar thing on my site, with a different role:
>
> <dtml-if expr="_.SecurityGetUser().has_role('Development Manager',
> this())">
More information about the Zope
mailing list