[
https://issues.apache.org/jira/browse/RANGER-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912833#comment-17912833
]
Dineshkumar Yadav commented on RANGER-4795:
-------------------------------------------
Ranger-2.6
https://github.com/apache/ranger/commit/99c1a958e78d14f6b99aa0b879bc9a5d48899360
> Add validation in API to check emptiness on policyitem while creating policy.
> -----------------------------------------------------------------------------
>
> Key: RANGER-4795
> URL: https://issues.apache.org/jira/browse/RANGER-4795
> Project: Ranger
> Issue Type: Task
> Components: Ranger
> Reporter: Rakesh Gupta
> Assignee: Rakesh Gupta
> Priority: Major
> Fix For: 3.0.0, 2.6.0
>
>
> There is an inconsistency between Ranger API and UI not doing the same
> validation for Policy creation.
> Policy creation API should fail when a policy with all empty values and along
> with [""] or ["null"] in policyItem --> users, groups and roles.
> Similar validation should be applied for data masking Policy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)