> On Nov. 5, 2015, 12:48 a.m., Sravya Tirukkovalur wrote: > > sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryAuthorizationProvider.java, > > line 415 > > <https://reviews.apache.org/r/39928/diff/1/?file=1115325#file1115325line415> > > > > I believe that you are not checking the > > authzInfo.doesBelongToAuthzObject(pathElements) to keep it symmetric with > > addAclFeature. If that is the case, can you update the jira/RB description > > and file a follow on jira which corrects this behavior for both > > add/removeAclFeature? > > Hao Hao wrote: > Yeah, it is to ensure the behaivors are matching for > add/removeAclFeature. Will change the jira and file a new one.
Added the Jira-954 for fixing add/removeAclFeature. - Hao ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39928/#review105189 ----------------------------------------------------------- On Nov. 6, 2015, 1:29 a.m., Hao Hao wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39928/ > ----------------------------------------------------------- > > (Updated Nov. 6, 2015, 1:29 a.m.) > > > Review request for sentry, Anne Yu, Lenni Kuff, and Sravya Tirukkovalur. > > > Repository: sentry > > > Description > ------- > > Change-Id: I7c65bf182c44075f41de16943c5b7eb66e3dec0b > > SENTRY-994: Changed the Logger level and added more test case for > removeACLFeature. > > Change-Id: I851344e088155e28c8978203759fe56884b29e41 > > > Diffs > ----- > > > sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryAuthorizationProvider.java > 419ab68e0d03f995c55d229b762453468de47571 > > sentry-hdfs/sentry-hdfs-namenode-plugin/src/test/java/org/apache/sentry/hdfs/TestSentryAuthorizationProvider.java > fd5146f079d93687738a522f42beaa59031a4f82 > > Diff: https://reviews.apache.org/r/39928/diff/ > > > Testing > ------- > > Added several new unit tests for setPermission/setUser/setGroup/removeAcl > cases validation. > > > Thanks, > > Hao Hao > >
