----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69353/#review211119 -----------------------------------------------------------
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java Lines 3932 (patched) <https://reviews.apache.org/r/69353/#comment296043> If column name is not null, should add that in filter sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java Lines 3943 (patched) <https://reviews.apache.org/r/69353/#comment296044> You don't fetch users of that privilege. Do you want to return that? If the caller does not want it, it can be dropped. Or let a input indicating if we want to get users as well - Na Li On Dec. 7, 2018, 12:05 a.m., kalyan kumar kalvagadda wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/69353/ > ----------------------------------------------------------- > > (Updated Dec. 7, 2018, 12:05 a.m.) > > > Review request for sentry and Sergio Pena. > > > Bugs: SENTRY-2454 > https://issues.apache.org/jira/browse/SENTRY-2454 > > > Repository: sentry > > > Description > ------- > > New sentry API should be implemented to fetch the privileges granted to > authorizables and it's children. authorizables include database, tables, > columns and URI's. > > > Diffs > ----- > > > sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java > e2d6c85ac6b285e286c12f7eec669b841cf76e9d > > sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStoreInterface.java > e48eea377b842475f72b6fab4567a82c8fd93098 > > sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/service/persistent/TestSentryStore.java > ca8c41610d3dcd12b267579c3d3cbe5b7ba7b208 > > > Diff: https://reviews.apache.org/r/69353/diff/2/ > > > Testing > ------- > > Added new unit tests to test the API added. > > > Thanks, > > kalyan kumar kalvagadda > >