Dieter, You're right, but the login_html method has this 'Access .... Information' permission still being acquired from above for anonymous. So it still doesn't solve the mystery. Thanks anyway. Phil ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <zope@zope.org> Sent: Wednesday, April 18, 2001 9:46 PM Subject: Re: [Zope] Weird permissions problem.
Phil Harris writes:
<dtml-var standard_html_header> <a href="&dtml.url-login_html;">Login</a> </dtml-var standard_html_footer>
Created the login_html (dtml_method).
Changed the permissions so that anaonymous couldn't view it.
Tried viewing the index_html, which to my mind should have worked but it didn't. I tried to reproduce your problem in my ZopeCVS:
Apparently, the construct requires "Access Contents Information". When I withdraw this permission, your problem occured.
For me, "View" permission was not relevant.
Dieter