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
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,