> On 一月 28, 2015, 7:02 a.m., Colin Ma wrote: > > sentry-binding/sentry-binding-solr/src/main/java/org/apache/sentry/binding/solr/authz/SolrAuthzBinding.java, > > line 61 > > <https://reviews.apache.org/r/30068/diff/1/?file=826501#file826501line61> > > > > What's usage for useSentryService? Do you mean use DB provider? > > This is a sentry plugin for Solr, it should always use sentry service.
Thanks colin for your suggest. I will fix it. Thanks - shen ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30068/#review69968 ----------------------------------------------------------- On 一月 20, 2015, 11:01 a.m., shen guoquan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30068/ > ----------------------------------------------------------- > > (Updated 一月 20, 2015, 11:01 a.m.) > > > Review request for sentry, Gregory Chanan and Vamsee Yarlagadda. > > > Repository: sentry > > > Description > ------- > > Solr needs to sync collection privileges with Sentry when the metadata has > changed. For example, when the collection has been deleted, the privileges > related to the collection were needed to drop > > > Diffs > ----- > > > sentry-binding/sentry-binding-solr/src/main/java/org/apache/sentry/binding/solr/authz/SolrAuthzBinding.java > faf862f > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/generic/service/thrift/SentryGenericPolicyProcessor.java > d6600a0 > > sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/handler/SecureRequestHandlerUtil.java > 8b46388 > > sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/handler/admin/SecureCollectionsHandler.java > 20d9626 > > sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java > d44b228 > > sentry-tests/sentry-tests-solr/src/test/java/org/apache/sentry/tests/e2e/solr/db/integration/TestSolrSyncPrivilegeOperation.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/30068/diff/ > > > Testing > ------- > > > Thanks, > > shen guoquan > >
