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

Ramachandran commented on RANGER-4111:
--------------------------------------

Hi [~abhishek.patil],

Can you please confirm once from your side?

 

> /service/public/v2/api/policy API should return all policies (including 
> policies in security zones)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4111
>                 URL: https://issues.apache.org/jira/browse/RANGER-4111
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Abhishek
>            Priority: Major
>
> {color:#172b4d}When a request is made to the API endpoint 
> base_url/service/public/v2/api/policy,{color}
> {color:#172b4d}only policies which are not present in security zones are 
> returned.{color}
> {color:#172b4d}If a request is made to the API endpoint 
> \{BASE_URL}/service/public/v2/api/policy?zoneName=\{ZONE_NAME}, the policies 
> in a specific zone are returned (which is the expected behaviour).{color}
> {color:#172b4d}Ideally, query params should be used to filter the search 
> results, and if no query params are used (for example, if zoneName query 
> param is not used), the API should return all the policies in Ranger 
> Admin{color}



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

Reply via email to