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

Dineshkumar Yadav updated RANGER-2758:
--------------------------------------
    Description: 
Option to create missing users/groups while creating/updating roles

*Problem:* Currently Ranger dose not allow to create or update roles while it 
passes non existing users or groups during role creation or updating.

*Solution:* 1. Now this option will be available with one additional optional 
queryparam "_createNonExistUserGroup_" which is boolean value. If we wanted to 
create role with non existing  groups or roles, pass the value true in 
queryparam otherwise false.  

2. Default value for QueryParam "_createNonExistUserGroup_" is false and this 
is optional, so that existing api dose not get affected with this changes.

3. This changes done for create and update Role for both internal and public 
api.   

  was:Option to create missing users/groups while creating roles


> Option to create missing users/groups while creating/updating roles 
> --------------------------------------------------------------------
>
>                 Key: RANGER-2758
>                 URL: https://issues.apache.org/jira/browse/RANGER-2758
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Dineshkumar Yadav
>            Assignee: Dineshkumar Yadav
>            Priority: Major
>
> Option to create missing users/groups while creating/updating roles
> *Problem:* Currently Ranger dose not allow to create or update roles while it 
> passes non existing users or groups during role creation or updating.
> *Solution:* 1. Now this option will be available with one additional optional 
> queryparam "_createNonExistUserGroup_" which is boolean value. If we wanted 
> to create role with non existing  groups or roles, pass the value true in 
> queryparam otherwise false.  
> 2. Default value for QueryParam "_createNonExistUserGroup_" is false and this 
> is optional, so that existing api dose not get affected with this changes.
> 3. This changes done for create and update Role for both internal and public 
> api.   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to