[
https://issues.apache.org/jira/browse/RANGER-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fateh Singh resolved RANGER-4762.
---------------------------------
Resolution: Fixed
[https://github.com/apache/ranger/commit/ffda775366ac8ac8a6869991dbab5e12d307a423]
> REST endpoints do not prevent duplicate values for a resource resulting in
> multiple policies for a resource
> -----------------------------------------------------------------------------------------------------------
>
> Key: RANGER-4762
> URL: https://issues.apache.org/jira/browse/RANGER-4762
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Fateh Singh
> Assignee: Fateh Singh
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Ranger UI prevents duplicate values for a resource e.g. while creating hive
> policy, UI prevents list of duplicate values for database such as
> [test_db1,test_db1]
> When creating policies via REST endpoints, the checks for duplicate values
> for a resource are not done and results in duplicate policies for the same
> resource (in this case test_db1).
> Policy validation should be improved to havre this check in place to prevent
> duplicate values for a given resource.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)