[
https://issues.apache.org/jira/browse/SENTRY-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gregory Chanan updated SENTRY-1047:
-----------------------------------
Attachment: SENTRY-1047.patch
> Use existing validators in SentryShellSolr
> ------------------------------------------
>
> Key: SENTRY-1047
> URL: https://issues.apache.org/jira/browse/SENTRY-1047
> Project: Sentry
> Issue Type: Task
> Components: Service, Solr Plugin
> Affects Versions: 1.7.0
> Reporter: Gregory Chanan
> Assignee: Gregory Chanan
> Fix For: 1.7.0
>
> Attachments: SENTRY-1047.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)