Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1290

Performance improvement for ResourceAuthorizationProvider

    XMLWordPrintableJSON

    Details

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

      Description

      Currently, ResourceAuthorizationProvider.doHasAccess does not scale in the scenario when users have many roles and each role has many permissions. Especially in the case for "SHOW TABLES", "SHOW DATABASEs" in hive, which checks a lot of authorizable objects. Need to improve the performance.

        Attachments

          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: