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

Sachin commented on SENTRY-2149:
--------------------------------

[~akolb] - Could please let me know how to use the interactive Sentry CLI? so 
that I can use show groups command.

As sentry shell is only for Hive authorization metadata now, and supports the 
following commands:

create/drop role
add/delete group to/from role
grant/revoke privilege to/from role
list role for group
list privilege for role


> Implement functionality to show groups
> --------------------------------------
>
>                 Key: SENTRY-2149
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2149
>             Project: Sentry
>          Issue Type: New Feature
>            Reporter: Sachin
>            Priority: Major
>
> Sentry allows to list the roles
>  SHOW ROLES;
>  There should be also a way to show the groups . Currently it seems that this 
> is only possible by directly querying the Sentry database. This functionality 
> should be provided out-of-the-box similar to the statement above.
> The functionality could look similar to the following statement
> {code:sql}
> SHOW GROUPS;{code}



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

Reply via email to