Madhan Neethiraj created RANGER-864:
---------------------------------------
Summary: RangerPolicy.set(List<?>) methods append to existing
value, instead of overwriting
Key: RANGER-864
URL: https://issues.apache.org/jira/browse/RANGER-864
Project: Ranger
Issue Type: Bug
Components: plugins
Affects Versions: 0.5.0, 0.5.1, 0.5.2, 0.6.0
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Following methods in RangerPolicy append to existing value, instead of
overwriting:
- setUsers()
- setGroups()
- setAccesses()
- setConditions()
This behavior does not cause issues with current usage of these methods, as
these are called only when the existing list is empty. However, these methods
should be fixed to be consistent with rest of set(List<?>) methods in
org.apache.ranger.plugin.model package.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)