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

He Yongqiang updated HIVE-1915:
-------------------------------

    Status: Patch Available  (was: Open)

> authorization on database level is broken.
> ------------------------------------------
>
>                 Key: HIVE-1915
>                 URL: https://issues.apache.org/jira/browse/HIVE-1915
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: He Yongqiang
>            Assignee: He Yongqiang
>         Attachments: HIVE-1915-2.patch, HIVE-1915.1.patch
>
>
> CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
> SHOW DATABASES;
> grant `drop` on DATABASE test_db to user hive_test_user;
> grant `select` on DATABASE test_db to user hive_test_user;
> show grant user hive_test_user on DATABASE test_db;
> DROP DATABASE IF EXISTS test_db;
> will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to