You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Dineshkumar Yadav (Jira)" <ji...@apache.org> on 2020/03/20 06:49:00 UTC

[jira] [Resolved] (RANGER-2758) Option to create missing users/groups while creating/updating roles

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

Dineshkumar Yadav resolved RANGER-2758.
---------------------------------------
    Resolution: Fixed

patch submitted 

https://github.com/apache/ranger/commit/10f4cff27b703ffbb18e77ac9bd08d4b61e63813

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