[ZODB-Dev] Re: Can't mount acl_users with DBTab
Chris Withers
chrisw at nipltd.com
Wed Jul 16 09:34:34 EDT 2003
Shane Hathaway wrote:
>> 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.
Cool, will that be in the next release?
>> 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. :-/
How and where does it need to be mounted?
What would be the best way to solve this problem?
cheers,
Chris
More information about the ZODB-Dev
mailing list