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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: