----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74900/#review226230 -----------------------------------------------------------
Ship it! Ship It! - Sailaja Polavarapu On Feb. 20, 2024, 11:35 p.m., Abhay Kulkarni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/74900/ > ----------------------------------------------------------- > > (Updated Feb. 20, 2024, 11:35 p.m.) > > > Review request for ranger, madhan, Madhan Neethiraj, Ramesh Mani, and Sailaja > Polavarapu. > > > Bugs: RANGER-4722 > https://issues.apache.org/jira/browse/RANGER-4722 > > > Repository: ranger > > > Description > ------- > > Ranger authorization logic for the HDFS commands that require authorization > of the entire directory hierarchy rooted at the specified directory argument > is incorrect as it does not correctly compute the sub-directory paths. The > paths of sub-directories that need to be authorized incorrectly contain an > extra '/' character, which leads to incorrect authorization result. > > > Diffs > ----- > > > hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java > 9b1279bcb > > > Diff: https://reviews.apache.org/r/74900/diff/1/ > > > Testing > ------- > > Compiles clean and passes unit tests. > > > Thanks, > > Abhay Kulkarni > >