Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1001 Improve usability of URIs and URI privileges
  3. SENTRY-1175

Improve usability of URI privileges when granting URIs

    XMLWordPrintableJSON

    Details

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

      Description

      If URI has no scheme and authority when granting URI privileges, e.g GRANT ALL ON URI '/path/to/table'. Sentry should automatically handle it with default scheme and authority based on the Hadoop configs Sentry has been given.

      There are two places could be changed to support it:

      • When grant the URI privileges
      • When check the URI privileges

      However, when granting the URI privileges, the URI path does not necessary needs to be presented in the filesystem, thus choose to make the URI fully qualified during the privileges checking time.

        Attachments

        1. SENTRY-1175.0.patch
          7 kB
          Hao Hao

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: