You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2018/03/07 19:14:00 UTC

[jira] [Updated] (SENTRY-2144) Table Rename should allow database name change

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

Na Li updated SENTRY-2144:
--------------------------
    Attachment: SENTRY-2144.002.patch

> Table Rename should allow database name change
> ----------------------------------------------
>
>                 Key: SENTRY-2144
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2144
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Na Li
>            Assignee: Na Li
>            Priority: Major
>         Attachments: SENTRY-2144.001.patch, SENTRY-2144.002.patch
>
>
> Right now, when renaming a table, if the database changes, the privileges will be moved to the wrong table.
> For example, original table is db1.tbl1, and user changes to db2.tbl2. 
> *Expected behavior*:
> The privileges associated with db1.tbl1 should be removed from db1.tbl1, and added to *{color:#205081}db2{color}*.tbl2.
> *Actual behavior*:
> The privileges associated with db1.tbl1 is removed from db1.tbl1, and added to {color:red}*db1*{color}.tbl2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)