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

Getting direct users/groups doesn't return 404 for invalid group/user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.10.1
    • 2.8.3, 2.9.1
    • REST

    Description

      According to https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+Resources#CrowdRESTResources-GroupResource, Crowd should return a 404 status code if any of the following two request are made:

      /rest/usermanagement/1/user/group/direct?username=invalid
      /rest/usermanagement/1/group/user/direct?groupname=invalid
      

      given that invalid is not a valid group or user name

      However, currently an empty list of groups/users is returned along with a 200 status.

      Attachments

        Issue Links

          Activity

            People

              ppetrowski Patryk
              osenn Oliver Senn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: