sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dapeng Sun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-962) Fix SentryStore getPrivileges when column require "some"
Date Tue, 01 Dec 2015 01:43:10 GMT

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

Dapeng Sun updated SENTRY-962:
------------------------------
    Description: 
"some" is a reserved word of Sentry privilege, it means any privileges at the specified privilege
scope(level).

So when getPrivileges are requesting a column level privilege with "some", we shouldn't return
the privileges which column level is "+" or "some" at SentryStore, the correct privileges
should be all privileges are upper layer of column.

> Fix SentryStore getPrivileges when column require "some"
> --------------------------------------------------------
>
>                 Key: SENTRY-962
>                 URL: https://issues.apache.org/jira/browse/SENTRY-962
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>         Attachments: SENTRY-962.001.patch
>
>
> "some" is a reserved word of Sentry privilege, it means any privileges at the specified
privilege scope(level).
> So when getPrivileges are requesting a column level privilege with "some", we shouldn't
return the privileges which column level is "+" or "some" at SentryStore, the correct privileges
should be all privileges are upper layer of column.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message