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      [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

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

Reply via email to