Abhay Kulkarni created RANGER-2722:
--------------------------------------

             Summary: 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: Abhay Kulkarni
            Assignee: Abhay Kulkarni
             Fix For: master


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