You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramachandran (Jira)" <ji...@apache.org> on 2022/09/22 04:59:00 UTC
[jira] (RANGER-2572) Unable to update/add user to group with userName using rest API.
[ https://issues.apache.org/jira/browse/RANGER-2572 ]
Ramachandran deleted comment on RANGER-2572:
--------------------------------------
was (Author: JIRAUSER295265):
We have a requirement to add/update/delete a user to a group in ranger through rest API. I see that there are rest API available using the userId but not through userName — I will take this task for the below rest API's
/api/roles/name/\{name}/addUsersAndGroups
/api/roles/\{id}/removeUsersAndGroups
/api/roles/\{id}/removeAdminFromUsersAndGroups
and add the new APIs which support for roleName instead of rolled
/api/roles/name/\{name}/addUsersAndGroups
/api/roles//name/\{name}/removeUsersAndGroups
/api/roles/name/\{name}/removeAdminFromUsersAndGroups
cc >> [~madhan] [~pradeep]
> Unable to update/add user to group with userName using rest API.
> ----------------------------------------------------------------
>
> Key: RANGER-2572
> URL: https://issues.apache.org/jira/browse/RANGER-2572
> Project: Ranger
> Issue Type: New Feature
> Components: Ranger
> Affects Versions: 1.2.0
> Reporter: bharath
> Assignee: Ramachandran
> Priority: Critical
> Labels: features
>
> Hi Team,
> # We have a requirement to add/update/delete a user to a group in ranger through rest API. I see that there are rest API available using the userId but not through userName. Is there any way we can do this ??
> # Also while creating a user the id that is given in JSON request is not taken, instead ranger creates its own id for the user and gives it back as a response. Is there a way to force ranger the id that I provide. But even this id is not seen anywhere in the ranger UI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)