You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Romain Rigaux (JIRA)" <ji...@apache.org> on 2014/08/11 21:14:11 UTC
[jira] [Commented] (SENTRY-359) Support Sentry service API to
retrieve privilege hierarchy of the given authorizable object
[ https://issues.apache.org/jira/browse/SENTRY-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093177#comment-14093177 ]
Romain Rigaux commented on SENTRY-359:
--------------------------------------
Ideally we could also add as parameters:
2: required set<string> groups,
3: required TSentryActiveRoleSet roleSet,
that way we can do fine grain filtering easily.
> 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)