[ 
https://issues.apache.org/jira/browse/RANGER-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yijun Wang updated RANGER-2737:
-------------------------------
    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.

  was:
@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.


> Ranger REST API returns different infomation when GET user by id and by name
> ----------------------------------------------------------------------------
>
>                 Key: RANGER-2737
>                 URL: https://issues.apache.org/jira/browse/RANGER-2737
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Yijun Wang
>            Priority: Major
>
> [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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to