[Zope] Displaying something based on role doesn't work properly

Dieter Maurer dieter@handshake.de
Tue, 13 Feb 2001 20:55:31 +0100 (CET)


Alexander Limi writes:
 > ....
 > AUTHENTICATED_USER.has_role(['Member','Artist','Manager'])
 > works fine except for standard_error_message.

"standard_error_message" is probably not designed to be viewed
directly.

On the other hand, if it is called for a "Resource Not Found",
then Zope has not yet made the authentication.
This happens only after URL traversal succeeded.


Dieter