You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Nikhil Purbhe (Jira)" <ji...@apache.org> on 2022/12/13 18:44:00 UTC
[jira] (RANGER-4005) Add support in ranger to return the list of roles in which given role is associated
[ https://issues.apache.org/jira/browse/RANGER-4005 ]
Nikhil Purbhe deleted comment on RANGER-4005:
---------------------------------------
was (Author: nikhil@1):
Pull request : [https://reviews.apache.org/r/74247/]
> 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
> Affects Versions: 2.3.0
> Reporter: Nikhil Purbhe
> Assignee: Nikhil Purbhe
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: RANGER-4005-Add-support-in-ranger-to-return-the-list.patch
>
>
> 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)