You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2014/03/20 22:59:46 UTC

[jira] [Created] (SENTRY-152) Sentry checks permissions on underlying partitioned table when accessing a view

Sravya Tirukkovalur created SENTRY-152:
------------------------------------------

             Summary: Sentry checks permissions on underlying partitioned table when accessing a view
                 Key: SENTRY-152
                 URL: https://issues.apache.org/jira/browse/SENTRY-152
             Project: Sentry
          Issue Type: Bug
            Reporter: Sravya Tirukkovalur


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

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

Equivalent request for non partitioned tables:
{noformat}
FilePermission server=server1->db=default->table=testview, RequestPermission Server=server1->Db=default->Table=testview->action=select, result true
{noformat}




--
This message was sent by Atlassian JIRA
(v6.2#6252)