Nikhil Purbhe created RANGER-4005:
-------------------------------------

             Summary: Add support in ranger to return the list of roles in 
which given role is associated
                 Key: RANGER-4005
                 URL: https://issues.apache.org/jira/browse/RANGER-4005
             Project: Ranger
          Issue Type: Improvement
          Components: Ranger
            Reporter: Nikhil Purbhe
            Assignee: Nikhil Purbhe


Currently Role related API's does not provide functionality to provide the list 
of roles in which given role is associated with.

For eg.If

ParentRole1 contains  containingRole1, containingRole2

ParentRole2 contains containingRole2

ParentRole3 contains containingRole1 ,containingRole3

.

.

.

ParentRole 1000

Now If I want to know containingRole1 is part of which Roles then I don't have 
a direct way to know the list of roles in which containingRole1 is present.

 

we need an API in RoleREST which can give the list of roles in which given role 
is present.

we can pass the Rolename as containingRole1 to this API which will return us 
the ParentRole1, ParentRole3.

 

API input output based on above data could be as follows,

Input                             Output

containingRole1           Role Object for ParentRole1, ParentRole3.

containingRole2           Role Object for ParentRole1, ParentRole2

containingRole3           Role Object for ParentRole3

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to