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

Sanjar edited comment on RANGER-2528 at 8/9/19 10:47 AM:
---------------------------------------------------------

 
 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.
||{color:#205081}All Policies{color}||{color:#205081}Zoned 
Policies{color}||{color:#205081}Un zoned 
Policies{color}||{color:#205081}Tag{color} 
{color:#205081}Policies{color}||{color:#205081}Exported{color} 
{color:#205081}Policies{color}||
||Y||Y/N||Y/N||Y||Zone+Unzone+Tag||
||Y||Y/N||Y/N||N||Zone+Unzone||
||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||

 

 


was (Author: sanjarmatin):
 
 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.
||{color:#205081}All Policies{color}||{color:#205081}Zoned 
Policies{color}||{color:#205081}Un zoned 
Policies{color}||{color:#205081}Tag{color} 
{color:#205081}Policies{color}||{color:#205081}Exported{color} 
{color:#205081}Policies{color}||
||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)

Reply via email to