You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (JIRA)" <ji...@apache.org> on 2017/10/13 08:22:00 UTC
[jira] [Updated] (RANGER-1832) Export REST API should return exact
matching results if polResource param is provided
[ https://issues.apache.org/jira/browse/RANGER-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Agrawal updated RANGER-1832:
------------------------------------
Attachment: RANGER-1832-master.patch
> 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.0, 1.0.0, 0.7.1
> Reporter: Pradeep Agrawal
> Assignee: Pradeep Agrawal
> Fix For: 1.0.0, 0.7.2
>
> Attachments: RANGER-1832-master.patch
>
>
> 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)