Hi devs, I`ve worked on allowing the customization of the User Directory and, implicitly, the ability to search for users in a wiki. The jira issue [1] has 3 attached images, but I am going to link them here [2][3][4] too for commodity.
The idea is simple: Use the livetable to display users (pages with XWikiUsers objects in them) and display a selection of extra columns (XWikiUsers class property names) that are stored in the user's profile page as preferences. Each user can define his/er own view over the user directory and can also reset it to default. This feature comes as a complementary to the previous one [5] (that is still waiting for your votes, BWT :) ). Combined, the two allow an admin to display newly added user fields in the user's profile and other users to perform user searches based on (and not only) these fields. The only inconvenience with this approach is related to the workspaces application in the way that a workspace has a different membership relationship (membership to the workspace's group) than a normal XE instance or a farm subwiki (pages with XWikiUsers objects in them). Please see the jira issue [6] about this inconvenience and also the chosen and implemented solution (with an example). I`d like your vote if this is a feature that is to be integrated in XWiki, as proposed by the 2 pull requests [7][8] that are available. Thanks, Eduard ---------- [1] http://jira.xwiki.org/browse/XE-1131 [2] http://jira.xwiki.org/secure/attachment/24775/customizableUserDirectory-default.png(default, no customization, default columns) [3] http://jira.xwiki.org/secure/attachment/24776/customizableUserDirectory-customize.png(customization screen) [4] http://jira.xwiki.org/secure/attachment/24777/customizableUserDirectory-customized.png(customized with extra columns added) [5] http://xwiki.markmail.org/thread/22snpab3czfdexln (mail: [VOTE] merge branch 'feature-user-profile-information-editor' into master in 4.0M2) [6] http://jira.xwiki.org/browse/XWIKI-7648 (workspaces issue with the implemented solution) [7] https://github.com/xwiki/xwiki-enterprise/pull/18 [8] https://github.com/xwiki/xwiki-platform/pull/42 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

