hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-6122) Implement show grant on <resource>
Date Wed, 22 Jan 2014 20:15:21 GMT


Ashutosh Chauhan commented on HIVE-6122:

Are you concerned about backward-compat? That we show all privileges for user with {{ show
grant user hive_test_user }} as oppose to only user-level earlier. Than in HIVE-5928 a new
plugin api is implemented, so we can make backward incompatible change on new api, instead
of modifying behavior for existing syntax of old api. Also, HIVE-5929 has impl of that api.
In other words, only with {{ set
}}  {{ show grant user hive_test_user }} will show all privileges for user, otherwise old

> Implement show grant on <resource>
> ----------------------------------
>                 Key: HIVE-6122
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-6122.1.patch.txt, HIVE-6122.2.patch.txt, HIVE-6122.3.patch.txt
> 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

View raw message