----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71330/#review217342 -----------------------------------------------------------
hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java Lines 771 (patched) <https://reviews.apache.org/r/71330/#comment304634> Please review to see if this is required, as 'select' operation's target is column. So setting ownerUser on columns as in line 2086 should suffice. hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java Lines 1162 (patched) <https://reviews.apache.org/r/71330/#comment304635> If this line and line 1166 is not required, please remove them. (or put a comment to explain why it may be required in future). - Abhay Kulkarni On Aug. 20, 2019, 9:40 p.m., Ramesh Mani wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/71330/ > ----------------------------------------------------------- > > (Updated Aug. 20, 2019, 9:40 p.m.) > > > Review request for ranger, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, > Madhan Neethiraj, Pradeep Agrawal, Selvamohan Neethiraj, Sailaja Polavarapu, > Thejas Nair, and Velmurugan Periasamy. > > > Bugs: RANGER-2544 > https://issues.apache.org/jira/browse/RANGER-2544 > > > Repository: ranger > > > Description > ------- > > CDPD-3281: Ranger Owner Policy not getting honored for SELECT * queries. > > > Diffs > ----- > > > hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java > 3e255fd > > > Diff: https://reviews.apache.org/r/71330/diff/2/ > > > Testing > ------- > > Testing done in local VM for select * queries with OWNER policies with SELECT > as pemission. > > > Thanks, > > Ramesh Mani > >
