[Zope-CMF] tracker #485
Florent Guillaume
fg@nuxeo.com
Sat, 29 Jun 2002 16:40:54 +0000 (UTC)
I'm trying to understand Tracker #485 to fix it.
http://www.zope.org/Products/PTK/Tracker/485
Dieter writes:
> The Membership-Tool allows to "turn on member folder creation".
>
> If set, a member folder is created for users identified by
> an external user folder but the creation of the default
> document fails (that what on sees). In fact, fixing the
> owership fails, too (but that is not a big problem).
>
> The cause is a "user= acl_users.getUser(member_id).__of__(acl_uasers)"
> Because the local user folder does not define this member,
> it returns "None" and of course, "None does not have attribute __of__".
I don't understand how authenticating from an external user folder can
possibly work anyway.
There are a number of places where CMFCore.MembershipTool assumes that
all the members come from one single user folder. For instance
getMemberById uses only one acl_users, listMemberIds gets its ids from
only one place...
Besides right at the top of MembershipTool it says:
# This tool accesses member data through an acl_users object.
# It can be replaced with something that accesses member data in
# a different way.
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com