[ZOPE] DTML-IF OR ?

Sven Rudolph rudolph@medical-tribune.de
Tue, 26 Mar 2002 11:28:11 +0100


Hello Mark.

> <dtml-if "AUTHENTICATE_USER.has_role('Publisher','Manager','Writer')">
> doesn't work :-( 



It has to be a list (and there is a typo in your posting):
Try: <dtml-if "AUTHENTICATED_USER.has_role(['Publisher','Manager','Writer'])">

Greetings

Sven Rudolph

-- 
Sven Rudolph, Programmierer
GermanMedicalServices.de GmbH
Unter den Eichen 5, 65195 Wiesbaden
Tel.: 06 11 / 97 46 25 2