[Zope] DTMLFile

Dieter Maurer dieter@handshake.de
Sun, 1 Dec 2002 23:47:06 +0100


Steffen Hausmann writes:
 > I am working on an external method with a form and a button on it.
 > <input type="submit" name="manage_addTerminhinweis:method" />
 > 
 > The method called by the button is defined in my class like this.
 > manage_addTerminhinweis=DTMLFile("dtml/manage_addTerminhinweis",
 > globals())
 > 
 > The manage_addTerminhinweis file doesn't use any dtml expressions.
 > 
 > If I press the button as admin (inituser) everything works fine,
 > but if I login as a normal user (defined in an acl_user folder) who
 > has the same rights as admin I'm getting an unauthorized error.
 > 
 > Any ideas why this doesn't work.
Not really...

   What security declaration are you providing for "manage_addTerminhinweis"?

   It is accessed below the folder containing the "acl_users"?


Dieter