Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.0-milestone-1
-
None
-
workspace user directory results override
-
Unknown
-
Description
Because workspaces have a more sensible membership relationship (membership to the workspace group), the new User Directory can no longer display users based on the default membership relationship (Pages with XWikiUsers objects).
To accomodate this, the workspace-template-features package will provide an override UserDirectoryLivetableResults page that will properly build the query to be used by the workspace's User Directory.
The idea is that this query will display all global direct and indirect users that are members of the workspace's group. Indirect users means all global users that are members of a global group that is also a subgroup of the workspace's group. The subgroups are explored recursively, down the subgroup levels and only global groups are considered.
Example:
Workspace A group's members: (absolute references, since this is a workspace)
xwiki:XWiki.Joe
xwiki:XWiki.Bob
xwiki:XWiki.Management (this is a group)
xwiki:XWiki.Management members: (relative references, since the group is in the main wiki)
XWiki.Daniel
XWiki.Tim
XWiki.HR (this is a group)
xwiki:XWiki.HR members: (referenced relatively, since the group is in the main wiki)
XWiki.Jane
XWiki.Alice
Workspace A's User directory will list:
xwiki:XWiki.Joe
xwiki:XWiki.Bob
xwiki:XWiki.Daniel
xwiki:XWiki.Tim
xwiki:XWiki.Jane
xwiki:XWiki.Alice
Attachments
Issue Links
- depends on
-
XE-1131 Allow users to customize their view of the user directory
- Closed