Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2151 Automatically derive owner privileges from Hive Object Ownership
  3. SENTRY-2244

Alter sentry role or user at granting privilege can avoid extra query to database

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Sentry
    • None

    Description

      In alterSentryRoleGrantPrivilegeCore and alterSentryUserGrantPrivilegeCore , all of the privileges of a role or a user are already fetched from DB. In following processing, there is no need to query DB to get privilege INSERT, SELECT, ALL of this role again.

      Attachments

        1. SENTRY-2244.002.patch
          6 kB
          Na Li
        2. SENTRY-2244.002.patch
          6 kB
          Na Li
        3. SENTRY-2244.001.patch
          6 kB
          Na Li

        Issue Links

          Activity

            People

              linaataustin Na Li
              linaataustin Na Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: