[Zope] How to debug access denials?

Chris Withers chrisw@nipltd.com
Thu, 14 Dec 2000 10:17:40 +0000


Stephane Bortzmeyer wrote:
> 
> Is there a way to get an extended log, such as "anonymous user denied
> because index_html called standard_html_header which called getData
> and getData is a database connection and they don't have permission to
> use database connections"?

If you hit cancel when the dialog box pops up, you'll get an error
message. If you view the HTML source of that error message, there'll be
a python traceback in there which should provide the information you're
looking for...

cheers,

Chris