[Zope] has_permission unauthorized
Ulrich Wisser
u.wisser@luna-park.de
Sat, 06 Nov 1999 22:25:25 +0100
Hi,
in my navigation bar I would like to make some links
only to show up if the user has the right to view the
the objects. I tried:
<!--#if "AUTHENTICATED_USER.has_permission('View', Test)"-->
<A HREF="Test">Test</A>
<!--#/if-->
When the user is alliwed to view the object the link is shown :)
But when the user has no right to view the object I get
an error message that "AUTHENTICATED_USER.has_permission('View', Test)"
is unauthorized.
I removed all rights for anonymous user from that folder
and the folder does not acquire any settings from its
parent.
Any help appreciated.
So long
Ulli
--
----------------- Die Website Effizienzer ------------------
luna-park Bravo Sanchez, Vollmert, Wisser GbR
Ulrich Wisser mailto:u.wisser@luna-park.de
Alter Schlachthof, Immenburgstr. 20 Tel +49-228-9654055
D-53121 Bonn Fax +49-228-9654057
------------------http://www.luna-park.de ------------------