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

Table GRANTS should not Override Database GRANT in the Sentry HDFS plugin

    XMLWordPrintableJSON

    Details

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

      Description

      Steps to reproduce :

      1) create role test_role
      2) grant test_role to some group test_group
      3) grant ALL on default database to test_role
      4) verify that group test_group has rwx access on /user/hive/warehouse
      5) create table test_table in database default
      6) verify that group test_group has rwx access on /user/hive/warehouse/test_table
      7) grant SELECT on test_table table to test_role
      8) Notice that group test_group will have only r-x access on /user/hive/warehouse/test_table instead of the expected rwx

        Attachments

        1. SENTRY-575.1.patch
          2 kB
          Arun Suresh

          Activity

            People

            • Assignee:
              asuresh Arun Suresh
              Reporter:
              asuresh Arun Suresh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: