sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <>
Subject [jira] [Commented] (SENTRY-993) list_sentry_privileges_by_authorizable() gone in API v2
Date Fri, 12 Feb 2016 22:55:18 GMT


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

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:
>             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
> list_sentry_privileges_for_provider() is not recommended and provide just a set of text
privileges anyway.

This message was sent by Atlassian JIRA

View raw message