Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3883

emailchange and passwordchange User REST API's work even when invalid user id is used in the url

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • Ranger
    • None

    Description

      When a POST request is made to the following APIs return 200 status code even when the userId is invalid .

      1. {RANGER_ADMIN_URL}

        /service/users/{USER_ID}/passwordchange

      1.  {RANGER_ADMIN_URL}/service/users/{USER_ID}/emailchange

      Ideally, the API's must return 404 not found when using an invalid userid in the url,
      but in the case of the aforementioned APIs, POST request results in status code 200.

      Attachments

        Issue Links

          Activity

            People

              ramackri Ramachandran
              abhishek.patil Abhishek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: