[Zope] permission denied, even as superuser
Andy Pahne
ap@net22.net
Fri, 24 Sep 1999 14:56:09 +0200
I tried to create a product and a configuration interface, as described in
the content-manager's guide. (using Zope 2.0.0 on Linux Redhat 6.0)
When I invoke the script designer and try to clone the template object
(folder skelleton) Zope tells me that I am not allowed to call the function
manage_changeProperties, even as superuser.???
my Designer-Script:
****************
<form method="post" action="ProjectsiteBuilder"
enctype="multipart/form-data">
<table border="0" cellpadding="0" cellspacing="3" width="514">
<tr>
<td align="right" valign="top"><b>neue ID</b></td>
<td valign="top">
<input type="text" name="new_id" size=39>
</td>
</tr>
<tr>
<td align="right" valign="top"><b>Firmenname</b></td>
<td valign="top">
<input type="text" name="new_firmenname" size=39>
</td>
</tr>
<tr>
<td align="right" valign="top"><b>Firmen-URL</b></td>
<td valign="top">
<input type="text" name="new_firma_url" size=39>
</td>
</tr>
<tr>
<td align="right" valign="top"><b>Telefon</b></td>
......
......
<td align="center" colspan=2><br><input type="SUBMIT" value="Create
Projectsite"</td>
</tr>
</table>
</form>
the Builder-Script:
**************
<dtml-var standard_html_header>
<dtml-with "manage_clone(skelleton,REQUEST['new_id'],REQUEST)">
<dtml-call "manage_changeProperties(
firmenname=REQUEST['new_firmenname'],
firma_url=REQUEST['new_firma_url'],
firma_telefon=REQUEST['new_firma_telefon'],
firma_fax=REQUEST['new_firma_fax'],
firma_email=REQUEST['new_firma_email']
)">
<dtml-call "firma_logo_menu.manage_upload(REQUEST['new_firma_logo_menu'])">
<dtml-call
"firma_logo_mainscreen.manage_upload(REQUEST['new_firma_logo_mainscreen'])">
</dtml-with>
<dtml-call "RESPONSE.redirect('manage_main?update_menu=1')">
<b>Congratulations</b>. <br>
Your projectsite has been created.
<dtml-var standard_html_footer>
and the reported error message:
************************
<P><STRONG>Unauthorized</STRONG></P>
You are not authorized to access <em>manage_changeProperties</em>.
<!--
Traceback (innermost last):
File /usr/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
214, in publish_module
File /usr/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
179, in publish
File /usr/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
165, in publish
File /usr/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: ProjectsiteBuilder)
File /usr/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
102, in call_object
(Object: ProjectsiteBuilder)
File /usr/src/Zope-2.0.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line
145, in __call__
(Object: ProjectsiteBuilder)
File
/usr/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: ProjectsiteBuilder)
File
/usr/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py, line
148, in render
(Object: manage_clone(skelleton,REQUEST['new_id'],REQUEST))
File
/usr/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line
315, in eval
(Object: manage_changeProperties(
firmenname=REQUEST['new_firmenname'],
firma_url=REQUEST['new_firma_url'],
firma_telefon=REQUEST['new_firma_telefon'],
firma_fax=REQUEST['new_firma_fax'],
firma_email=REQUEST['new_firma_email']
))
Unauthorized: (see above)
Any suggestions? I mean, if the superuser is not allowd to change
Properties, who is?
Andy Pahne