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] [Updated] (RANGER-864) RangerPolicy.set(List<?>) methods append to existing value, instead of overwriting
Date Tue, 01 Mar 2016 19:16:18 GMT

     [ https://issues.apache.org/jira/browse/RANGER-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhan Neethiraj updated RANGER-864:
------------------------------------
    Attachment: 0001-RANGER-864-RangerPolicy.set-List-methods-append-to-e.patch

> 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
>         Attachments: 0001-RANGER-864-RangerPolicy.set-List-methods-append-to-e.patch
>
>
> 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