You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2018/08/29 20:22:00 UTC

[jira] [Commented] (SENTRY-2371) Add a new thrift API for getting all privileges a user has

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

Na Li commented on SENTRY-2371:
-------------------------------

[~hahao] Could "SENTRY-2284: Add two client API to get all roles or users privileges mapping (Sergio Pena, reviewed by Na Li, Arjun Mishra)" satisfy your need? You can find the group a user belongs to, then roles of those groups, so getting privileges for user and roles should work.

> 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)