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

Ranger REST API returns different infomation when GET user by id and by name

    XMLWordPrintableJSON

Details

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

    Description

      https://github.com/apache/ranger/blob/master/security-admin/src/main/java/org/apache/ranger/rest/XUserREST.java

      @Path("/users/userName/{userName}") - return XUserInfo without a group list

      @Path("/users/{id}") - return XUserInfo with a group list

      If no specific reasons, they should return the same information.

      Attachments

        1. RANGER-2737.patch
          0.6 kB
          Yijun Wang

        Activity

          People

            yzw0060 Yijun Wang
            yzw0060 Yijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: