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

DefaultSentryValidator is not caching privileges when authorizing SHOW DATABASE or TABLES command

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Sentry
    • Labels:
      None

      Description

      When we run a SHOW DATABASES or SHOW TABLES command on the Hive side, the bindings we create or this check is not with a cache of privileges. This makes the authorization checks slow as for every database/table authorization, request is sent to the Sentry server which pulls privileges from the database. Having a cache will fix this problem

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arjunmishra13 Arjun Mishra
                Reporter:
                arjunmishra13 Arjun Mishra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: