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

authorization check api should provide table for create table,drop/create index, and db for create/switch db

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Authorization
    • None

    Description

      For create table, the Authorizer.checkPrivileges call provides only the database name. If the table name is passed, it will be possible for the authorization api implementation to appropriately set the permissions of the new table.
      Similarly, in case of create-database, the api call should provide database object for the database being created.

      For create and drop index, the underlying table information also should be passed.
      For "use db;" , the database information should be passed.

      Attachments

        1. HIVE-7648.1.patch
          432 kB
          Thejas Nair
        2. HIVE-7648.2.patch
          1.50 MB
          Thejas Nair
        3. HIVE-7648.3.patch
          1.51 MB
          Thejas Nair
        4. HIVE-7648.4.patch
          1.51 MB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: