You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Kundan Kumar Jha (Jira)" <ji...@apache.org> on 2023/02/06 14:53:00 UTC

[jira] [Updated] (RANGER-4056) Not able to attach a user to a group while creating it from service/xusers/users endpoint.

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

Kundan Kumar Jha updated RANGER-4056:
-------------------------------------
    Affects Version/s: 2.3.0

> Not able to attach a user to a group while creating it from service/xusers/users endpoint.
> ------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4056
>                 URL: https://issues.apache.org/jira/browse/RANGER-4056
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.3.0
>            Reporter: Kundan Kumar Jha
>            Assignee: Ramachandran
>            Priority: Major
>
> Problem statement:
> While creating a user from the service/xusers/users its not attaching the group in the groupNameList.
> Steps to reproduce:
> Create user by doing post request on service/xusers/users endpoint with paylload having "public" as group in it.
> Payload:
> { "name":"temp_user_abc_123", "firstName":"user1", "lastName": "user1", "loginId": "user1", "emailAddress" : null, "description" : "user1 desc", "password" : "user1Pass@123", "groupIdList":[1], "groupNameList":["public"], "status":1, "isVisible":1, "userRoleList": [ "ROLE_USER" ], "userSource": 0 }
>  
> Response:
> {     "id": 321,     "createDate": "2023-01-17T06:18:58Z",     "updateDate": "2023-01-17T06:18:58Z",     "owner": "Admin",     "updatedBy": "Admin",     "name": "temp_user_abc_123",     "description": "user1 desc",     "groupIdList": [],     "groupNameList": [],     "status": 0,     "isVisible": 1,     "userSource": 0,     "userRoleList": [         "ROLE_USER"     ] }
>  
> In the payload we have provided the "public" as group in groupNameList but in the response the groupNameList is empty.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)