Pradeep Agrawal created RANGER-1832: ---------------------------------------
Summary: Export REST API should return exact matching results if polResource param is provided Key: RANGER-1832 URL: https://issues.apache.org/jira/browse/RANGER-1832 Project: Ranger Issue Type: Bug Components: Ranger Affects Versions: 0.7.1, 0.7.0, 1.0.0 Reporter: Pradeep Agrawal Assignee: Pradeep Agrawal Fix For: 1.0.0, 0.7.2 Currently, Export REST API returns partial matching results also even if polResource param is provided. Use Case : 1) Create a ranger hdfs policy with resource path /tmp/abcdefg 2) Call REST API to export policy for resource path: /tmp/abcd http://localhost:6080/service/plugins/policies/exportJson?serviceName=source_hadoop&polResource=/tmp/abcd&resource:path=/tmp/abcd&serviceType=hdfs&resourceMatchScope=self_or_ancestor" ER: REST call should not return policy for resource /tmp/abcdefg AR: REST call is returning policy for resource /tmp/abcdefg -- This message was sent by Atlassian JIRA (v6.4.14#64029)