sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-716) Hive pluing does not correctly enforce privileges for new in case of nested queries
Date Fri, 01 May 2015 18:55:07 GMT
Prasad Mujumdar created SENTRY-716:
--------------------------------------

             Summary: Hive pluing does not correctly enforce privileges for new in case of
nested queries
                 Key: SENTRY-716
                 URL: https://issues.apache.org/jira/browse/SENTRY-716
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: Prasad Mujumdar


A nested query on view incorrectly enforces base table privileges instead of view privileges.
For example,
{noformat}
create view v1 as select * from t1;
grant select on table v1 to role test;
select * from ( select * from v1) v2;
{noformat}
doesn't work if you have read privilege on view v1. It only works when you have read privilege
on underlying table t1.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message