sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenni Kuff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-549) SentryStore should support more actions
Date Mon, 08 Dec 2014 15:53:12 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237994#comment-14237994
] 

Lenni Kuff commented on SENTRY-549:
-----------------------------------

Done, thanks [~Huang Xiaomeng]! One request for the future - if the change is not too large
it is probably easier to track it using a single JIRA rather than breaking it down into multiple
subtasks.

> SentryStore should support more actions
> ---------------------------------------
>
>                 Key: SENTRY-549
>                 URL: https://issues.apache.org/jira/browse/SENTRY-549
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>            Assignee: Xiaomeng Huang
>         Attachments: SENTRY-549.001.patch, SENTRY-549.002.patch, SENTRY-549.004.patch
>
>
> Currently we support more actions, but in SentryStore, looks like we just support SELECT,
INSERT and ALL for some operations(e.g. drop and rename).
> In fact, it actually is a bug for some cases, for example:
> {code}
> >grant select, insert, alter, drop to table db1.tb1
> >grant create  to database db1
> >rename tb1 to tb2
> >drop tb2 -->should be success
> >drop tb1 -->should be failed
> {code}
> But before this patch, 'drop tb2' will failed, and 'drop tb1' will success



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

Mime
View raw message