Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1650

Performing a group search with the Search Restriction SearchContext.GROUP_PRINCIPAL_MEMBER currently fails and returns all groups

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.0.1
    • 2.0
    • SOAP
    • None

    Description

      Performing the following search:

              SearchRestriction restriction = new SearchRestriction(SearchContext.GROUP_PRINCIPAL_MEMBER, "admin");
      
              final SOAPGroup[] soapGroups = securityServerClient.searchGroups(new SearchRestriction[]{restriction});
      

      Will return all groups instead of returning the groups "admin" is a member of. The current work around for this issue is to use the specific "findGroupMemberships" call on the security server client.

      Attachments

        Activity

          People

            Unassigned Unassigned
            justin@atlassian.com Justin Koke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: