[Zope] permission problem????

William Herring william.herring at spgenetics.com
Sat May 15 15:30:07 EDT 2004


In folder 'test' I have created an 'acl_users' folder with userid of
'testuser'.  There's the sample index.html that get's created along with the
folder.  'testuser' can see this fine.

I then proceed to create a ZSQL method, connecting to my Postgres7.4
database with ZPsycopg.  The sql method works fine as superuser.  However,
when 'testuser' attempts to use the sql method, I get:

   Site Error
An error was encountered while publishing this resource.

KeyError

Sorry, a site error occurred.

Traceback (innermost last):

Module ZPublisher.Publish, line 150, in publish_module
Module ZPublisher.Publish, line 114, in publish
Module Zope.App.startup, line 202, in zpublisher_exception_hook
Module ZPublisher.Publish, line 98, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module OFS.DTMLDocument, line 126, in __call__
Module DocumentTemplate.DT_String, line 474, in __call__
KeyError: standard_html_header (Also, an error occurred while attempting to
render the standard error message.)


----------------------------------------------------------------------------
----

Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error
log.

If the error persists please contact the site maintainer. Thank you for your
patience.



I've searched the groups, but can't seem to find any leads.  Any insight
appreciated.




More information about the Zope mailing list