ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-864) RangerPolicy.set(List<?>) methods append to existing value, instead of overwriting
Date Tue, 01 Mar 2016 17:28:18 GMT
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)

Mime
View raw message