[
https://issues.apache.org/jira/browse/RANGER-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535910#comment-17535910
]
kirby zhou commented on RANGER-3752:
------------------------------------
This seems to be a historical problem, because the underlying
"isValidPolicyItemAccess" function will also modify the input.
{code:java}
String matchedAccessType = getMatchedAccessType(accessType, accessTypes);
if (StringUtils.isEmpty(matchedAccessType)) {
//...
} else {
access.setType(matchedAccessType);
} {code}
> Restrict duplicate access types entries in policy creation
> ----------------------------------------------------------
>
> Key: RANGER-3752
> URL: https://issues.apache.org/jira/browse/RANGER-3752
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Pradeep Agrawal
> Assignee: Pradeep Agrawal
> Priority: Major
> Fix For: 3.0.0
>
> Attachments:
> 0001-RANGER-3752-Restrict-duplicate-access-types-entries-.patch
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)