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

kalyan kumar kalvagadda commented on SENTRY-2149:
-------------------------------------------------

There are couple of things here
 # "SHOW ROLES" command list all the roles that are grant to user who is 
running this command.
 # I'm not sure what do you meant when you said "SHOW GROUPS" should be 
supported.
 ## If you meant,  "SHOW GROUPS" should return the list of the groups that user 
belongs. This is not a feature that sentry should be supporting as sentry is 
not a source of truth for this information.
 ## This information should be retrieved from differently. It should be based 
on the user<=>group mapping service that you are using.

> 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