Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-309

Metastore binding should use fully qualified URI for validating alter table operations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      The metastore binding is using raw URI string passed by hook context in case of Alter Table operations. This could case problems for URI comparisons in order to determine whether this needs a uri privilege.
      We should convert that to fully qualified URI, just like create table or other Hive operation cases.

        Attachments

        1. SENTRY-309.1.patch
          6 kB
          Prasad Suresh Mujumdar
        2. SENTRY-309.3.patch
          26 kB
          Prasad Suresh Mujumdar
        3. SENTRY-309.4.patch
          27 kB
          Prasad Suresh Mujumdar
        4. SENTRY-309.5.patch
          26 kB
          Prasad Suresh Mujumdar
        5. SENTRY-309.5.patch
          26 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Suresh Mujumdar
                Reporter:
                prasadm Prasad Suresh Mujumdar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: