Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
SENTRY-1229 adds a cache to SentryGenericProviderBackend. The cache is configurable and has a configurable TTL. SentryGenericProviderBackend has ImmutableSet<String> getPrivileges(Set<String> groups, ActiveRoleSet roleSet, Authorizable... authorizableHierarchy) as one of the public APIs, however as all the privileges are cached locally, filtering by authorizables does not buy a lot. However, for the consistency of API it is desirable to have the api return privileges only for the provided authorizables. This JIRA tracks adding that filtering to privileges when authorizables is specified.
Attachments
Issue Links
- relates to
-
SENTRY-1229 Add caching to SentryGenericProviderBackend
- Resolved