Zope Error: You are not authorized to access this resource
Hi, do anyone know how to generate my own error message if there is a authorization problem? The standard_error_message.html do not influence the response from zope. Thanks, Hannes
Loibl Johann wrote:
do anyone know how to generate my own error message if there is a authorization problem? The standard_error_message.html do not influence the response from zope.
Nope, this is a long outstanding issue with Zope. If I get a chance, I might take a look at it myself, but that doesn't look likely any time soon :-S cheers, Chris
In article <A9DB8266185ED411A07B00D0B70812D203A69D@mchw614x.mchw.siemens.de>, Loibl Johann <Johann.Loibl@SQT.SIEMENS.DE> wrote:
Hi,
do anyone know how to generate my own error message if there is a authorization problem? The standard_error_message.html do not influence the response from zope.
Last I looked, Zope's default user folder didn't really distinguish between "I don't know who you are!" and "I know who you are, but you're not allowed to do that". If you use LoginManager, it supports a forbiddenPage that is displayed for the second case.
participants (3)
-
Chris Withers -
Loibl Johann -
tsarnaļ¼ endicor.com