[ https://issues.apache.org/jira/browse/HIVE-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901140#comment-13901140 ]
Navis commented on HIVE-6203: ----------------------------- Yes, it's for minimizing the code difference. If test passes, I can rewrite it as you suggested. > 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 > > > 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)