That worked perfectly.
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',
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -