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

Use existing validators in SentryShellSolr

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: Service, Solr Plugin
    • Labels:
      None

      Description

      Right now, following the pattern of the Hive shell, the Solr shell manually implements validators, i.e.:
      https://github.com/apache/incubator-sentry/blob/597a3cdd319be84f2417c96d24db01553f264551/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/tools/SolrTSentryPrivilegeConvertor.java#L115-L130

      It would be better if we automatically used the existing validators, so they don't need to be implemented in multiple places.

        Attachments

        1. SENTRY-1047.patch
          4 kB
          Gregory Chanan

          Issue Links

            Activity

              People

              • Assignee:
                gchanan Gregory Chanan
                Reporter:
                gchanan Gregory Chanan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: