RE: [Zope] Question about Roles

2008-08-05 Thread Behrens Matt - Grand Rapids
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

Re: [Zope] Question about Roles

2008-08-05 Thread Allen Schmidt Sr.
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,