[ZODB-Dev] Re: Can't mount acl_users with DBTab

Shane Hathaway shane at zope.com
Tue Jul 15 11:44:58 EDT 2003


Chris Withers wrote:
> Hi Shane,
> 
> While trying some stuff out I noticed a couple of problems if you try 
> and use DBTab mount the root user folder:
> 
> 1. You can't add the mount point, because a DBTab mount point isn't one 
> of the things the emergency user can own, and you have to be working as 
> the emergency user to replace the root acl_users folder. Temporarily 
> commenting out the code which cehcks this was a passabel workaround for me.

It would probably work to just make mount points unownable in Zope's 
security model.  That's a two-line change to DBTab.

> 2. Once you have mounted a DBTab acl_users at the root, you can't log in 
> with any users it supplies. I couldn't get to the bottom of this one :-S

Interesting.  This doesn't work because the attribute that Zope actually 
looks for, __allow_groups__, needs to link to the mounted database, and 
I bet it doesn't.  Hmph. :-/

Shane




More information about the ZODB-Dev mailing list