[
https://issues.apache.org/jira/browse/RANGER-4783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-4783:
-------------------------------------
Issue Type: Improvement (was: Bug)
> Prevent duplicate users/groups/roles in policy items while creating/updating
> policies via REST
> ----------------------------------------------------------------------------------------------
>
> Key: RANGER-4783
> URL: https://issues.apache.org/jira/browse/RANGER-4783
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: Fateh Singh
> Assignee: Fateh Singh
> Priority: Major
> Fix For: 3.0.0, 2.5.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Policy items such as below should be prevented when created via REST as they
> are prevented when created using UI
> {code:java}
>
> "policyItems": [ { "accesses": [ { "type": "read", "isAllowed": true }, {
> "type": "select", "isAllowed": true } ], "users": [], "groups": [ "group1",
> "group1", "group1" ], "roles": [ "role1", "role2", "role1" ], "conditions":
> [], "delegateAdmin": false } ]
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)