Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5837 SQL standard based secure authorization for hive
  3. HIVE-6127

SQL std auth - make role/user optional in grant/revoke statements

    XMLWordPrintableJSON

Details

    Description

      Follow up task of HIVE-5923.
      Grant privilege and revoke privilege statements need to be changed to remove the requirement to specify whether the grantee is a user or role. That is, today Hive’s syntax is GRANT action ON [TABLE] table TO grantee where grantee is USER|ROLE identifier.
      If the keyword is not specified, hive will try to find role with that matches the identifier, otherwise, it will assume it is a user.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified