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