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

sql std auth - view authorization should not underlying table. More tests and fixes.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • Authorization
    • None

    Description

      This patch adds more tests for table and view authorization and also fixes a number of issues found during testing -

      • View authorization should happen on only on the view, and not the underlying table (Change in ReadEntity to indicate if it is a direct/indirect dependency)
      • table owner in metadata should be the user as per SessionState authentication provider
      • added utility function for finding the session state authentication provider user
      • authorization should be based on current roles
      • admin user should have all permissions
      • error message improvements

      Attachments

        1. HIVE-6250.1.patch
          128 kB
          Thejas Nair
        2. HIVE-6250.2.patch
          124 kB
          Thejas Nair

        Issue Links

          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