ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsombor Gegesy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-1949) KMS getKeys should filter based on name policy
Date Fri, 12 Jan 2018 22:21:00 GMT

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

Zsombor Gegesy updated RANGER-1949:
    Attachment: RANGER-1949.patch

> KMS getKeys should filter based on name policy
> ----------------------------------------------
>                 Key: RANGER-1949
>                 URL: https://issues.apache.org/jira/browse/RANGER-1949
>             Project: Ranger
>          Issue Type: Bug
>          Components: kms
>            Reporter: Owen O'Malley
>            Assignee: Zsombor Gegesy
>         Attachments: RANGER-1949.patch
> Currently when there are policies that limit users to certain keys, such as "pii*" those
users can't call KMS.getKeyNames() even if they have the "getkeys" permission.
> This is because the method passes a null down for the key name, which will only match
if the user can see all keys. A much better solution would be to filter each key individually
and just returns the ones that should be visible. So if they have permission to see "pii*"
and the keys were {"pii", "pii256", and "secret"} they would get back a list of "pii" and

This message was sent by Atlassian JIRA

View raw message