[
https://issues.apache.org/jira/browse/SENTRY-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237572#comment-14237572
]
Lenni Kuff commented on SENTRY-549:
-----------------------------------
+1, thanks [~Huang Xiaomeng]!
Pushed to master in:
commit 297e6dadc7ad4180a6439b6950ec285f1174183e
Author: Lenni Kuff <[email protected]>
Date: Sun Dec 7 23:53:33 2014 -0800
SENTRY-549: SentryStore should support more actions for drop/rename
(Xiaomeng Huang via Lenni Kuff)
> 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)