[Zope] Getting anonymous permissions
Oleg Broytmann
phd@phd.russ.ru
Thu, 29 Jun 2000 11:22:32 +0000 (GMT)
On Wed, 28 Jun 2000, J. Atwood wrote:
> <dtml-if "AUTHENTICATED_USER.has_permission('View', '')">
> Do something
> </dtml-if>
Here: http://sun.med.ru/pcgi/Random/ I test visitors this way:
<!--#if "AUTHENTICATED_USER.getUserName() == 'Anonymous User'"-->
Read-Only ADmin Login: <B>road</B>, password: <B>map</B>
<!--#/if -->
Never tried to play with permissions...
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.