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

ASF subversion and git services commented on IMPALA-14085:
----------------------------------------------------------

Commit 8e3c99b801454433bbda98943d5ea6f4a3eb5d08 in impala's branch 
refs/heads/master from Fang-Yu Rao
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8e3c99b80 ]

IMPALA-14085: Implement GRANT/REVOKE ROLE TO/FROM a user

As a follow-up to IMPALA-10211, this patch adds the support for the
following role-related statements.
1. GRANT ROLE <role_name> TO USER <user_name>.
2. REVOKE ROLE <role_name> FROM USER <user_name>.
3. SHOW ROLE GRANT USER <user_name>.

Testing:
 - Extended the test file grant_revoke.test to additionally cover the
   scenario in which the grantee/revokee is a user.
 - Added an end-to-end test to briefly verify the statements
   SHOW ROLE GRANT USER <user_name> and SHOW CURRENT ROLES are working
   as expected.

Change-Id: Ie5a16aeb4bbf8637ad326a1ec3d5fce1b196d73f
Reviewed-on: http://gerrit.cloudera.org:8080/23815
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Fang-Yu Rao <[email protected]>


> Implement GRANT/REVOKE role to USER
> -----------------------------------
>
>                 Key: IMPALA-14085
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14085
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Catalog, Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Fang-Yu Rao
>            Priority: Critical
>              Labels: ranger
>
> We only have GRANT/REVOKE privilege to USER.
> We should also implement GRANT/REVOKE role to USER.
> For reference, Hive's GRANT ROLE can be used with users:
> [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=40509928#SQLStandardBasedHiveAuthorization-GrantRole]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to