You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhay Kulkarni (Jira)" <ji...@apache.org> on 2020/02/05 21:48:00 UTC
[jira] [Created] (RANGER-2722) policies/hive/for-resource api call
is returning deleted policies
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)