You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Yijun Wang (Jira)" <ji...@apache.org> on 2020/02/20 23:21:00 UTC

[jira] [Resolved] (RANGER-2737) Ranger REST API returns different infomation when GET user by id and by name

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

Yijun Wang resolved RANGER-2737.
--------------------------------
    Resolution: Fixed

> 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
>         Attachments: RANGER-2737.patch
>
>
> [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)