[Zope] testing for local roles

Aaron Payne aaron@aaronpayne.com
Thu, 13 Jul 2000 16:27:53 -0400


Hi all,

Is
<dtml-if "AUTHENTICATED_USER.has_role('Manager','siteManager')">
....
</dtml-if>
valid for local roles? siteManager is a local role.
It seems that if I use this and there is a user with a local role present 
nothing is displayed.
I'm wondering if there is a has_localrole(....) method of AUTH..._USER but 
I haven't been able to find it.

-Aaron