[Zope] roles check

schandra at csee.wvu.edu schandra at csee.wvu.edu
Thu May 6 12:05:20 EDT 2004


Hi ,

I want to check for two roles in a page.I did like this


<dtml-unless "_.SecurityGetUser().has_role('Faculty||staff')">
< <dtml-call expr="RESPONSE.redirect('../login_form')">>
</dtml-unless

Is this correct?

Thanks for any help





More information about the Zope mailing list