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

Romain Rigaux commented on SENTRY-359:
--------------------------------------

It would be great to group the TSentryPrivilege by Role that way we know from 
where they come from.

> Support Sentry service API to retrieve privilege hierarchy of the given 
> authorizable object
> -------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-359
>                 URL: https://issues.apache.org/jira/browse/SENTRY-359
>             Project: Sentry
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Prasad Mujumdar
>
> The current implementation of list_sentry_privileges_for_provider is 
> specifically to facilitate Sentry auth engine. It's not intended to be a 
> general purpose metadata query.
> We should add a new API that returns the list of privileges 
> (TSentryPrivilege)  for the give authorizable object and all it's child 
> objects. 
> An initial implementation could limit itself to one level of hierarchy (eg 
> when you query a database object, return the tables along with it).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to