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

Sergio Peña commented on SENTRY-2371:
-------------------------------------

[~hahao] [~LinaAtAustin] Sorry I did not follow up on the comments on this 
patch. However, I see the API was renamed to 
{{list_sentry_privileges_by_user_and_itsgroups}} instead of the original one 
{{list_sentry_privileges_for_user}}.

Can we change the name to the original proposal? Sentry also support roles to 
users, so groups does not apply in that case.

> Add a new thrift API for getting all privileges a user has 
> -----------------------------------------------------------
>
>                 Key: SENTRY-2371
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2371
>             Project: Sentry
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: Hao Hao
>            Assignee: Hao Hao
>            Priority: Major
>             Fix For: 2.2.0
>
>         Attachments: SENTRY-2371.1.patch, SENTRY-2371.2.patch
>
>
> SENTRY-2256 introduces an API to list the privileges directly assigned to a 
> user. But there isn't an API to list all privileges a user has including the 
> ones granted to the group the user is in. Such an API is important when 
> clients need to find out all privilege a user has.



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

Reply via email to