[Zope] unauthorize !!!

Dieter Maurer dieter@handshake.de
Thu, 13 Dec 2001 23:01:36 +0100


Hamzat Kamal writes:
 > I am protecting a folder \test using a login manager with TinyTable. The 
 > TinyTable contained the user info and was created inside the UserSource of 
 > the acl_folder of the Login Manager together with the userAuthenticate, 
 > userExists, userRoles and userDomains python scripts.
 > 
 > The main problem now is that each time I open a new browser to access the 
 > content of the test folder and  I got unauthorize error when I used one of 
 > the user info store in the TinyTable.  But got successful when I 
 > used  acl_user  at the root folder.
Abort the login (called for by the "Unauthorized" response).
You should get an error page with "error type", "error value" and
a traceback.

The "error value" should tell you what Zope tried to access in vain.

I expect, your page references a protected object defined outside
the "test" hierarchy. For obvious reasons, Zope does not allow
this.


Dieter