[
https://issues.apache.org/jira/browse/SENTRY-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaomeng Huang updated SENTRY-549:
----------------------------------
Description:
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
was: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
> 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
>
> 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)