[
https://issues.apache.org/jira/browse/RANGER-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dineshkumar Yadav updated RANGER-3036:
--------------------------------------
Description:
If updateifexist/mergeIfExist parameter passed while importing the ranger
policies then additional policies are created for disabled policy with same
resource.
Solution: 1. New disabled policy will be created only if no resource-signature
matching policy found in ranger.
2. If policy with same resource-signature found in Ranger then
policy get merged or updated according to parameter passed during import.
3. If multiple disabled policy with same resource-signature
found then policy with same name will be picked up for update/merge otherwise
new policy will be created.
was:
If updateifexist/mergeIfExist parameter passed while importing the ranger
policies then additional policies are created for disabled policy with same
resource.
Solution: 1. New disabled policy will be created only if no resource-signature
matching policy found in ranger.
2. If policy with same resource-signature found in Ranger then
policy get merged or updated according to parameter passed during import.
3. If multiple disabled policy with same resource-signature
found then policy with same name will be picked up for update/merge.
> Multiple disabled policies getting created with same resource while import
> --------------------------------------------------------------------------
>
> Key: RANGER-3036
> URL: https://issues.apache.org/jira/browse/RANGER-3036
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: Dineshkumar Yadav
> Assignee: Dineshkumar Yadav
> Priority: Major
>
> If updateifexist/mergeIfExist parameter passed while importing the ranger
> policies then additional policies are created for disabled policy with same
> resource.
> Solution: 1. New disabled policy will be created only if no
> resource-signature matching policy found in ranger.
> 2. If policy with same resource-signature found in Ranger
> then policy get merged or updated according to parameter passed during import.
> 3. If multiple disabled policy with same resource-signature
> found then policy with same name will be picked up for update/merge otherwise
> new policy will be created.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)