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

Abhay Kulkarni commented on RANGER-2722:
----------------------------------------

Additional commit details:

master:

[https://github.com/apache/ranger/commit/e9959c0c0b41684eace583cb3a68afa5ee97d7c5]

> policies/hive/for-resource api call is returning deleted policies
> -----------------------------------------------------------------
>
>                 Key: RANGER-2722
>                 URL: https://issues.apache.org/jira/browse/RANGER-2722
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: master
>            Reporter: suja s
>            Assignee: Abhay Kulkarni
>            Priority: Major
>             Fix For: master, 2.1.0
>
>
> Scenario:
> 1. Create a policy in a hive service for database='testdb1'.
> 2. Ensure that no tag service is associated with thisĀ  hive service.
> 3. Delete all policies from the hive service.
> Although, a get call to fetch all policies in ranger does not return any 
> policy for hive service, an api call 
> <ranger_url>/service/public/v2/api/policies/hive/for-resource?resource:database='testdb1'
>  returns deleted policies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to