[Zope-CMF] manager from "outside" acl_users isn't listed as member

Tres Seaver tseaver@palladion.com
Fri, 07 Sep 2001 06:29:08 -0400


Brad Clements wrote:

> I'm a manager defined in the root acl_users.
> 
> I have "member folder creation" enabled in a CMF that is in a child folder. That CMF 
> has it's own acl_users
> 
> When you go to "members", I am not listed. Seems that membership iterates only it's 
> own acl_users.. Could it also look in the Members folders to figure out if it left anyone 
> out, or is that too ineficient?


Hmm, are you referring to the 'members' link in the topbar, which
points to the 'roster' skin method?  It depends on the 'getRoster()'
method of the MembershipTool, which enfocres (in CMFDefault's
implementation) a policy that only managers can see unlisted members.

I wuppose it could be implemented by scanning the member folder
list, in combination with the "Listed?" preference from the
MemberDataTool, for those sites (most of the current ones I know
about) which actually have home folders for each member.

Another implementation might use just the MemberDataTool's
'searchMemberDataContents' method.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com