You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Sanjar (JIRA)" <ji...@apache.org> on 2019/08/09 09:00:00 UTC

[jira] [Commented] (RANGER-2528) Export API to get zone, unzone as well as tag based policies from Ranger.

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

Sanjar commented on RANGER-2528:
--------------------------------

 
I have added two additional request parameters  for fetching *All Policies* and *Tag Policies.*
Below table shows a complete picture of how the export API would behave when the request parameters are passed.



||All Policies||Zoned Policies||Un zoned Policies||Tag Policies||Exported Policies||
||Y||Y/N||Y/N||Y/N||Zone+Unzone+Tag||
||N||Y||N||Y||Zone+Tag(Belonging to Zone)||
||N||Y||N||N||Zone||
||N||N||Y||Y||Unzone+Tag(Belonging to unzone)||
|        *N*|           *N*|              *Y*|         *N*|                        *Unzone*|

 

 

> Export API to get zone, unzone as well as tag based policies from Ranger.
> -------------------------------------------------------------------------
>
>                 Key: RANGER-2528
>                 URL: https://issues.apache.org/jira/browse/RANGER-2528
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Sanjar
>            Assignee: Sanjar
>            Priority: Major
>         Attachments: 0001-All-Policies-Export-API.patch
>
>
> A separate policy export API needs to be created which would give all zone, unzone as well as tag policies for a specified resource.Currently export policy gives zone or unzone policies only.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)