[
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983441#action_12983441
]
He Yongqiang commented on HIVE-1915:
------------------------------------
About the "existing code", it seems the patch added some existing codes to
diff, i will try to remove them.
> 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.