Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1915

authorization on database level is broken.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.

      Attachments

        1. HIVE-1915.1.patch
          8 kB
          He Yongqiang
        2. HIVE-1915-2.patch
          107 kB
          He Yongqiang
        3. HIVE-1915-3.patch
          107 kB
          He Yongqiang

        Activity

          People

            he yongqiang He Yongqiang
            he yongqiang He Yongqiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: