[Zope] Accessing a Zclass' method needs authentication of the superuser
Nico Grubert
nico@beehive.de
Thu, 05 Oct 2000 11:48:20 +0200
hello,
i created a zclass "myzclass" inside a product "myprod".
inside of the zclass i created a dtml-method "mymethod_html" which can
be found by the tab "Methods".
in the root folder i have created a dtml-method "gimme_html" conatinintg
the following code to access the method "mymethod_html" :
<dtml-with "manage_addProduct['myprod']">
<dtml-with "myzclass">
<dtml-var "gimme_html">
</dtml-with>
</dtml-with>
this code will bring me up a login-screen.
i am logged in as manager with the role Manager.
i have no permission to access "mymethod_html". WHY ? WHERE DO I HAVE TO
DEFINE THAT ?
when i type in "superuser" and the password for the superuser I DO HAVE
access to the dtml-method "mymethod_html".
I use Zope 2.2.0.
In zope 2.1.6. i do not get any login screen when i am trying to access
"mymethod_html".
thank you in advance,
nico