so

<dtml-if "AUTHENTICATED_USER.has_permission('View', '')">
    Do something
</dtml-if>

Should work, but does not.

J



> From: Oleg Broytmann <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 28 Jun 2000 14:36:36 +0000 (GMT)
> To: "J. Atwood" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] Getting anonymous permissions
> 
> On Wed, 28 Jun 2000, J. Atwood wrote:
>> But how do I test to see if ANONYMOUS has a permission?
> 
> Anonymous is AUTHENTICATED_USER, too :)
> 
> Oleg.            (All opinions are mine and not of my employer)
> ---- 
> Oleg Broytmann      Foundation for Effective Policies      [EMAIL PROTECTED]
> Programmers don't die, they just GOSUB without RETURN.
> 
> 


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to