You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/07/06 06:50:34 UTC

[jira] [Commented] (HIVE-6122) Implement show grant on

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

Lefty Leverenz commented on HIVE-6122:
--------------------------------------

<ping>

Please review the existing doc (see link in previous comment) and revise or tell me what to doc.

If you specify USER, why does this show all principals for a resource?

Examples are needed for the new implementation as well as the old.

> Implement show grant on <resource>
> ----------------------------------
>
>                 Key: HIVE-6122
>                 URL: https://issues.apache.org/jira/browse/HIVE-6122
>             Project: Hive
>          Issue Type: Improvement
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>              Labels: TODOC13
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6122.1.patch.txt, HIVE-6122.2.patch.txt, HIVE-6122.3.patch.txt, HIVE-6122.4.patch, HIVE-6122.4.patch, HIVE-6122.5.patch, HIVE-6122.6.patch
>
>
> Currently, hive shows privileges owned by a principal. Reverse API is also needed, which shows all principals for a resource. 
> {noformat}
> show grant user hive_test_user on database default;
> show grant user hive_test_user on table dummy;
> show grant user hive_test_user on all;
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)