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/04/02 21:16:18 UTC
[jira] [Updated] (SENTRY-152) Sentry checks permissions on
underlying partitioned table when accessing a view
[ https://issues.apache.org/jira/browse/SENTRY-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sravya Tirukkovalur updated SENTRY-152:
---------------------------------------
Attachment: SENTRY-152.test.patch
Attaching a test case to reproduce this issue.
> 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
> Assignee: Prasad Mujumdar
> Attachments: SENTRY-152.test.patch
>
>
> 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)