[
https://issues.apache.org/jira/browse/SENTRY-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596810#comment-16596810
]
Alexander Kolbasov commented on SENTRY-2371:
--------------------------------------------
I think Sentry can do these kind of queries more efficiently since it can get
the result from a single transaction. Otherwise there is always a chance of
inconsistency if something changed in between.
> 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
> Reporter: Hao Hao
> Priority: Major
>
> 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)