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 Sat, 22 Feb 2014 08:35:20 GMT

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

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

[~navis] I have uploaded a patch to HIVE-5954 that updates get_privilege_set to indirect privileges
through roles. Can you please review that one ? We won't need an additional thrift API with
that patch.



> 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