[Zope] RE: What method do I use to check access?
Rob Page
rob.page@digicool.com
Wed, 26 May 1999 07:26:04 -0400
> What I want is
> <!--#if "AUTHENTICATED_USER.hasPermission(SomeObject, 'View')"-->
> <a href="<!--#var "SomeObject.absolute_url()"-->">Goto
> SomeObject</a>
> <!--#/if-->
How about:
<!--#if expr="AUTHENTICATED_USER.has_role('requester')"-->
<LI> <A HREF="Requester/index_html">Requester menu</A>
<!--#/if-->
Reading between the lines of your original post it sounds like this
approach might work but require you to add more role definitions...
--Rob