[Zope] Re: VerboseSecurity and LDAPUserFolder?

Shane Hathaway shane@zope.com
Tue, 15 Jul 2003 10:03:43 -0400


Jean Jordaan wrote:
> Hi Shane & all
> 
> Have you had any opportunity to play with VerboseSecurity together with
> LDAPUserFolder (2.2beta3)? It looks as though VerboseSecurity doesn't 
> kick in with LDAPUserFolder: I get a plain "Unauthorized" exception, 
> instead of the nice verbose feedback I get on the plain UserFolder next 
> door.
> 
> Does anyone know how to make it work?

There are some cases where Zope throws its own Unauthorized errors and 
VerboseSecurity can't intervene.  It's not specific to LDAP.  However, 
some changes made for Zope 2.7 should make it possible to raise a proper 
Unauthorized error in more places, so at least you can expect future 
improvements.

Shane