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

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

Commit d533cb1d43879cfa3892726bcae6316dea212754 in impala's branch 
refs/heads/master from Austin Nobis
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d533cb1 ]

IMPALA-8280, IMPALA-8281: Add support for show grant user/group with Ranger

Add support for SHOW GRANT statements for Apache Ranger. This patch also
adds the RangerImpaladAuthorizationManager as the show grant statement
is called from impalad. The new supported syntax is:

SHOW GRANT USER/GROUP <id> ON server;
SHOW GRANT USER/GROUP <id> ON database <db>;
SHOW GRANT USER/GROUP <id> ON uri <uri>;
SHOW GRANT USER/GROUP <id> ON table <db>.<table>;
SHOW GRANT USER/GROUP <id> ON column <db>.<table>.<column>;

The following syntax is valid SQL, but is not supported currently by the
Apache Ranger integration with Impala:

SHOW GRANT USER/GROUP <id>

Testing:
- Ran all FE unit tests
- Ran authorization E2E tests
- Updated test_ranger to use show grant statement for verification of
  granted privileges

Change-Id: Ic46fb9fc36c9e11ec78d5840d22eb0668150c2a4
Reviewed-on: http://gerrit.cloudera.org:8080/13074
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Implement SHOW GRANT USER <user>
> --------------------------------
>
>                 Key: IMPALA-8280
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8280
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Catalog, Frontend
>            Reporter: Fredy Wijaya
>            Assignee: Austin Nobis
>            Priority: Critical
>
> Syntax:
> {noformat}
> SHOW GRANT USER <user> [ON <object>]
> {noformat}
> The command is to show list of privileges for a given user with an optional 
> ON clause.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to