Ashish K Singh created SENTRY-1245:
--------------------------------------

             Summary: Add authorizables filter to cache in 
SentryGenericProviderBackend
                 Key: SENTRY-1245
                 URL: https://issues.apache.org/jira/browse/SENTRY-1245
             Project: Sentry
          Issue Type: Improvement
            Reporter: Ashish K Singh


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.



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

Reply via email to