[ https://issues.apache.org/jira/browse/RANGER-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Velmurugan Periasamy updated RANGER-2722: ----------------------------------------- Fix Version/s: 2.1.0 > 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)