[Zope] authenticated_user in a method of a ZClass...

Gilles Lenfant glenfant@bigfoot.com
Mon, 20 Aug 2001 13:36:20 +0200


Hi,

Using such a simple code that works anywhere else raises a NameError
exception in a method (DTML Method) of a ZClass...

<dtml-if "AUTHENTICATED_USER.has_role(['Manager','backoffice'])">
 <p>You're a manager</p>
</dtml-if>

Any idea ?

TIA

--Gilles