Hi Guillaume, I'm not sure that it's a good idea to manage all local users in a same group given the fact that you may have different subwikis: you will loose information about these members (you know they are locals but you don't know from which subwiki). Why not using a XWiki.XWikiAllGroup page in each subwiki (only when there is local_user in userScope)? Just an idea, maybe I don't understand all the implications.
Sincerely, -- Jean On mar., 2014-01-21 at 17:31 +0100, 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 > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

