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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.10.1
    • Affects Version/s: 2.8.3, 2.9.1
    • Component/s: REST

      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.

            Assignee:
            Patryk
            Reporter:
            Oliver Senn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: