[ 
https://issues.apache.org/jira/browse/RANGER-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608089#comment-17608089
 ] 

Ramachandran commented on RANGER-3010:
--------------------------------------

[~madhan] [~kulkabhay]  i believe the users,groups will be passed as a query 
parameter for the below API's
/api/roles/name/\{name}/addUsersAndGroups
/api/roles/\{id}/removeUsersAndGroups
/api/roles/\{id}/removeAdminFromUsersAndGroups
 

like 

@QueryParam("users") List<String> users, @QueryParam("groups") List<String> 
groups

Is this correct?

 

> 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)

Reply via email to