[Zope-CMF] When is a user not a member?

Chris Withers chrisw@nipltd.com
Tue, 26 Jun 2001 15:38:39 +0100


Geoff Benn wrote:
> 
> I've noticed this too. Now I have Zope 2.3.3 beta 1 with CMF 1.1 and the problem
> persists.  Is this a bug, or perhaps an incomplete feature ? 

I think it's underfined behaviour. If it's causing you problems, create a
tracker issue.

> As a work-around I've
> made sure that the closest acl_users doesn't have any entries. I also noticed that
> folders were being created for all users in the closed acl_users the first time
> someone tried to look at the roster ...

Hmmm... dunno about this.

> We are planning to have a number of portals, probably in a hierarchy, with an
> LDAPLoginAdapter acl_users at the top (with CMFLDAP). I have turned off the existing
> 'Join' by removing permission 'Add portal member' from the 'Anonymous' role in the
> root security.

If the portals all have the same members, do they need to be seperate portal
instances?

> It seems to me that the roster should just show those users who have a personal
> folder under Members, and who wish to be listed - aren't these the true membrs ?.

I don't know, it depends what you think :-)
Anyway, you could get exactly this behaviour by customising the 'roster' method
in the 'generic' skin layer.

> I currently have a work-around which lists all users who have a Members folder. I
> have ditched the idea of not being listed [we're all friends here :-) , and I can't
> easily do it ... ]

Can you not just check the preferences manually on the Member object from within
the roster method?

cheers,

Chris