----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30068/#review69955 -----------------------------------------------------------
sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java <https://reviews.apache.org/r/30068/#comment114791> tmpClient may be unnecessary sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java <https://reviews.apache.org/r/30068/#comment114790> Why not use **tmpBinding.useSentryService()** sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java <https://reviews.apache.org/r/30068/#comment114792> the Method is unnecessary, we should throw the exception, it will handle by **SentryIndexAuthorizationSingleton** sentry-solr/solr-sentry-handlers/src/main/java/org/apache/solr/sentry/SentryIndexAuthorizationSingleton.java <https://reviews.apache.org/r/30068/#comment114793> If a user can delete the conllection, would he have the revoke permission? sentry-tests/sentry-tests-solr/src/test/java/org/apache/sentry/tests/e2e/solr/db/integration/TestSolrSyncPrivilegeOperation.java <https://reviews.apache.org/r/30068/#comment114794> SearchConstants.ALL means action all? Is there any other actions need to be tested? - Dapeng Sun On 一月 20, 2015, 7:01 p.m., shen guoquan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30068/ > ----------------------------------------------------------- > > (Updated 一月 20, 2015, 7:01 p.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 > >
