[Zope] Getting anonymous permissions

J. Atwood jatwood@bwanazulia.com
Wed, 28 Jun 2000 15:49:49 -0400


so

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

Should work, but does not.

J



> From: Oleg Broytmann <phd@phd.russ.ru>
> Reply-To: phd@phd.russ.ru
> Date: Wed, 28 Jun 2000 14:36:36 +0000 (GMT)
> To: "J. Atwood" <jatwood@bwanazulia.com>
> Cc: zope@zope.org
> 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      phd@phd.russ.ru
> Programmers don't die, they just GOSUB without RETURN.
> 
>