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

Gregory Chanan commented on SENTRY-993:
---------------------------------------

Sorry for coming to this a little late, I have a couple of questions:

1.  Why is {code}public Map<String, TSentryPrivilegeMap> 
listPrivilegsbyAuthorizable(String component,...{code} present in 
SentryGenericServiceClientDefaultImpl but not in the client interface?

2.  Can I use any of the APIs to just _all_ of the privileges?  Seems useful 
for caching, but I'm unclear if I need to iterate over the role names and/or 
the authorizable names.

> list_sentry_privileges_by_authorizable() gone in API v2
> -------------------------------------------------------
>
>                 Key: SENTRY-993
>                 URL: https://issues.apache.org/jira/browse/SENTRY-993
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Romain Rigaux
>            Assignee: Hao Hao
>             Fix For: 1.7.0
>
>         Attachments: SENTRY-993.0.patch, SENTRY-993.1.patch, 
> SENTRY-993.2.patch
>
>
> How to list the privileges of an object?
> It was used before for filling the right panel on 1:24 
> http://gethue.com/apache-sentry-made-easy-with-the-new-hue-security-app/
> list_sentry_privileges_for_provider() is not recommended and provide just a 
> set of text privileges anyway.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to