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

sql std auth - set authorization privileges for tables when created from hive cli

    XMLWordPrintableJSON

Details

    Description

      As SQL standard authorization mode is not available from hive-cli, the default permissions on table for the table owner are not being set, when the table is created from hive-cli.

      It should be possible set the sql standards based authorization as the authorizer for hive-cli, which would update the configuration appropriately.

      hive-cli data access is actually controlled by hdfs, not the authorization policy. As a result, using sql std auth from hive-cli for authorization would lead to a false sense of security. To avoid this, hive-cli users will have to keep the authorization disabled on hive-cli (in case of sql std auth). But this would affect only authorization checks, not configuration updates by the authorizer.

      Attachments

        1. HIVE-7533.1.patch
          122 kB
          Thejas Nair
        2. HIVE-7533.2.patch
          122 kB
          Thejas Nair
        3. HIVE-7533.3.patch
          124 kB
          Thejas Nair

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: