authorization on database level is broken.
------------------------------------------

                 Key: HIVE-1915
                 URL: https://issues.apache.org/jira/browse/HIVE-1915
             Project: Hive
          Issue Type: Bug
            Reporter: He Yongqiang
            Assignee: He Yongqiang


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