You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "SentryQA (JIRA)" <ji...@apache.org> on 2014/04/11 11:37:16 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13966366#comment-13966366 ] 

SentryQA commented on SENTRY-152:
---------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12639746/SENTRY-152.1.patch against master.

{color:red}Overall:{color} -1 due to an error

{color:red}ERROR:{color} failed to build with patch (exit code 1)

Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-SENTRY-Build/50/console

This message is automatically generated.

> 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.1.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)