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

Fateh Singh resolved RANGER-4783.
---------------------------------
    Resolution: Fixed

[https://github.com/apache/ranger/commit/e6b83f34f527313dbfa80ab43fafd444203a0ab1]
 

> 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: Bug
>          Components: Ranger
>            Reporter: Fateh Singh
>            Assignee: Fateh Singh
>            Priority: Major
>          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)

Reply via email to