hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6203) Privileges of role granted indrectily to user is not applied
Date Mon, 17 Feb 2014 23:58:19 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903607#comment-13903607
] 

Thejas M Nair commented on HIVE-6203:
-------------------------------------

[~navis] Please let me know if you would like me to create a patch to fix existing get_privilege_set
function instead of adding new thrift api. I will be able to create one by tomorrow. That
should require less code changes.


> Privileges of role granted indrectily to user is not applied
> ------------------------------------------------------------
>
>                 Key: HIVE-6203
>                 URL: https://issues.apache.org/jira/browse/HIVE-6203
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: HIVE-6203.1.patch.txt, HIVE-6203.2.patch.txt, HIVE-6203.3.patch.txt,
HIVE-6203.4.patch.txt
>
>
> For example, 
> {noformat}
> create role r1;
> create role r2;
> grant select on table eq to role r1;
> grant role r1 to role r2;
> grant role r2 to user admin;
> select * from eq limit 5;
> {noformat}
> admin -> r2 -> r1 -> SEL on table eq
> but user admin fails to access table eq



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message