You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Fateh Singh (Jira)" <ji...@apache.org> on 2024/04/25 01:27:00 UTC
[jira] [Created] (RANGER-4783) Prevent duplicate users/groups/roles in policy items while creating/updating policies via REST
Fateh Singh created RANGER-4783:
-----------------------------------
Summary: 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
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)