[
https://issues.apache.org/jira/browse/SENTRY-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sravya Tirukkovalur updated SENTRY-152:
---------------------------------------
Affects Version/s: 1.2.0
Fix Version/s: 1.4.0
> 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
> Affects Versions: 1.2.0
> Reporter: Sravya Tirukkovalur
> Assignee: Prasad Mujumdar
> Fix For: 1.4.0
>
> Attachments: SENTRY-152.1.patch, SENTRY-152.2.patch,
> 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)