Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10377

Implement an API to get all the members of a group / all the groups of a user, across all wikis

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.2
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The problem is that:

      • XWikiGroupService.getAllMembersNamesForGroup() will not handle subgroups
      • RightsManager.resolveUsers(String userOrGroup, XWikiContext context) doesn't scale (since it returns all users and for each user/group it loads its document!). It does support subgroups though.

      The problem is also presented in more details at http://markmail.org/message/zk22t2fjpsjk3jx6

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: