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

Sentry checks permissions on underlying partitioned table when accessing a view

    XMLWordPrintableJSON

    Details

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

      Description

      Looks like in the case of partitioned tables, sentry is checking for permissions on underlying table as well when accessing a view.

      FilePermission server=server1->db=default->table=testview, RequestPermission Server=server1->Db=default->Table=part->action=select, result false
      

      Equivalent request for non partitioned tables:

      FilePermission server=server1->db=default->table=testview, RequestPermission Server=server1->Db=default->Table=testview->action=select, result true
      

        Attachments

        1. SENTRY-152.test.patch
          4 kB
          Sravya Tirukkovalur
        2. SENTRY-152.1.patch
          9 kB
          Prasad Suresh Mujumdar
        3. SENTRY-152.2.patch
          9 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Suresh Mujumdar
                Reporter:
                sravya Sravya Tirukkovalur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: