Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1245

Add authorizables filter to cache in SentryGenericProviderBackend

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              singhashish Ashish Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: