[ 
https://issues.apache.org/jira/browse/RANGER-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dineshkumar Yadav updated RANGER-2855:
--------------------------------------
    Description: 
If updateifexist parameter is passed during import ranger policy then it is 
overriding the existing policy which is not supposed to update.

 

*Solution :* Earlier we used to find the existing policy using zoneName, 
ServiceName and PolicyName or ServiceName and PolicyName. If not found then we 
try to find using guid.

Now we are searching the existing policy on the basis of resource signature 
match.

 

  was:
If updateifexist parameter is passed during import ranger policy then it is 
overriding the existing policy which is not supposed to update.

 

Solution : Earlier we used to find the existing policy using zoneName, 
ServiceName and PolicyName or ServiceName and PolicyName. If not found then we 
try to find using guid.

Now we are searching the existing policy on the basis of resource signature 
match.

 


> import policy for ranger is not working properly if updateifexist parameter 
> is passed
> -------------------------------------------------------------------------------------
>
>                 Key: RANGER-2855
>                 URL: https://issues.apache.org/jira/browse/RANGER-2855
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Dineshkumar Yadav
>            Assignee: Dineshkumar Yadav
>            Priority: Major
>
> If updateifexist parameter is passed during import ranger policy then it is 
> overriding the existing policy which is not supposed to update.
>  
> *Solution :* Earlier we used to find the existing policy using zoneName, 
> ServiceName and PolicyName or ServiceName and PolicyName. If not found then 
> we try to find using guid.
> Now we are searching the existing policy on the basis of resource signature 
> match.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to