Just to add some precisions: = What the migrator do = 1. Create a group XWikiMemberGroup, with XWikiAllGroup as the first member. 2. All global users of XWikiAllGroup are put inside XWikiMemberGroup and removed from XWikiAllGroup. 3. All rights concerning XWikiAllGroup are changed (ex: "view for XWikiAllGroup" -> "view for XWikiMemberGroup"). It does not break anything since XWikiAllGroup is a member of XWikiMemberGroup. 4. All candidacies (ie: join requests, etc...) are moved form XWikiAllGroup to XWikiMemberGroup, to be consistent.
2014/1/21 Guillaume "Louis-Marie" Delhumeau <[email protected]> > Sergiu: > Exactly, I don't have to have all global users in the this group. Only > those who are considered as "members" (ie: they have joined the wiki). > > > 2014/1/21 Sergiu Dumitriu <[email protected]> > >> Why not make virtual XWikiAllGroup also contain global users? >> >> We can make: >> >> xwiki.authentication.group.allgroupimplicit=0 -> no >> xwiki.authentication.group.allgroupimplicit=1 -> yes, all local users >> xwiki.authentication.group.allgroupimplicit=2 -> yes, local and global >> >> Or do you want to have only some global users, not all of them? >> >> On 01/21/2014 11:31 AM, Guillaume "Louis-Marie" Delhumeau wrote: >> > Hi developers! >> > >> > In Workspaces, we used to add global users in the XWikiAllGroup page of >> a >> > subwiki to indicate that they are members of that wiki. >> > >> > Now, we have an option called "user scope", and we can have both global >> & >> > local users in a subwiki. That means we have global & local users in >> > XWikiAllGroup. >> > >> > Then, it is a problem because it can not work when XWikiAllGroup is a >> > virtual group [1]. >> > >> > Then, I have proposed to create a new group, called XWikiMemberGroup, >> that >> > hold the members of the subwiki. (Note: XWikiAllGroup will be a member >> of >> > XWikiMemberGroup, in order to say "a local user is a member"). >> > >> > So, I have written a migration (again!) [2], to create the new group >> with >> > the current content of XWikiAllGroup. In this migration, I also changes >> all >> > existing rights that occur on XWikiAllGroup to make them effective for >> > XWikiMemberGroup. I did not want to duplicate these rights by just >> adding >> > the sames for XWikiMemberGroup. I think it is easier for the user to >> only >> > take care of the XWikiMemberGroup. But it looks a bit "magical", and >> some >> > people don't like it. >> > >> > I would like to have your opinion. >> > >> > +1 for adding XWikiMemberGroup and to "migrate" rights (replace all >> rights >> > given to XWikiAllGroup by rights given to XWikiMemberGroup). >> > >> > Thanks, >> > Louis-Marie >> > >> > >> > [1] http://jira.xwiki.org/browse/XWIKI-9886 - Enabling virtual >> > XWikiAllGroup breaks wiki membership >> > [2] >> https://github.com/xwiki/xwiki-platform/compare/feature-wiki-members - >> > Git branch for this proposal >> >> >> -- >> Sergiu Dumitriu >> http://purl.org/net/sergiu >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

