[
https://issues.apache.org/jira/browse/RANGER-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608075#comment-17608075
]
Ramachandran edited comment on RANGER-3010 at 9/22/22 4:57 AM:
---------------------------------------------------------------
I will take this task for the below rest API's:
{code:java}
/api/roles/name/{name}/addUsersAndGroups
/api/roles/{id}/removeUsersAndGroups
/api/roles/{id}/removeAdminFromUsersAndGroups
{code}
and add the new APIs which support for roleName instead of roleId
{code:java}
/api/roles/name/{name}/addUsersAndGroups
/api/roles//name/{name}/removeUsersAndGroups
/api/roles/name/{name}/removeAdminFromUsersAndGroups
{code}
cc >> [~madhan] [~pradeep] [~kulkabhay]
was (Author: JIRAUSER295265):
I will take this task for the below rest API's:
{code:java}
/api/roles/name/{name}/addUsersAndGroups
/api/roles/{id}/removeUsersAndGroups
/api/roles/{id}/removeAdminFromUsersAndGroups
{code}
and add the new APIs which support for roleName instead of rolled
{code:java}
/api/roles/name/{name}/addUsersAndGroups
/api/roles//name/{name}/removeUsersAndGroups
/api/roles/name/{name}/removeAdminFromUsersAndGroups
{code}
cc >> [~madhan] [~pradeep] [~kulkabhay]
> Rest API 'addUsersAndGroups' issue
> ----------------------------------
>
> Key: RANGER-3010
> URL: https://issues.apache.org/jira/browse/RANGER-3010
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: leo sun
> Assignee: Ramachandran
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> I want to use Ranger API functions - addUsersAndGroups & removeUsersAndGroups
> to manage users and groups of role. But official reference don't have
> suitable example for these two APIs. And my all attempts failed.
> Another point: For example, I found the input type of addUsersAndGroups is
> Boolean on official web, but the input of the implement function is two
> string list and one boolean.
> I don't know how to use it. Could you help me with this? [~abhayk]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)