Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1290 Performance improvement for ResourceAuthorizationProvider
  3. SENTRY-1291

SimpleCacheProviderBackend.getPrivileges should return the permission based on authorizationhierarchy

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      SimpleCacheProviderBackend.getPrivileges now return all the cached permission for a set of groups, results in ResourceAuthorizationProvider.doHasAccess very inefficiency. To improve, SimpleCacheProviderBackend.getPrivileges should return the permission based on authorizationhierarchy.

        Attachments

        1. SENTRY-1291.5.patch
          29 kB
          Hao Hao
        2. SENTRY-1291.4.patch
          29 kB
          Hao Hao
        3. SENTRY-1291.3.patch
          26 kB
          Hao Hao
        4. SENTRY-1291.2.patch
          26 kB
          Hao Hao
        5. SENTRY-1291.1.patch
          24 kB
          Hao Hao
        6. SENTRY-1291.0.patch
          23 kB
          Hao Hao

          Issue Links

            Activity

              People

              • Assignee:
                hahao Hao Hao
                Reporter:
                hahao Hao Hao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: