-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74900/
-----------------------------------------------------------

(Updated Feb. 20, 2024, 11:23 p.m.)


Review request for ranger, madhan, Madhan Neethiraj, and Ramesh Mani.


Changes
-------

Updated Ranger JIRA and description


Summary (updated)
-----------------

RANGER-4722: HDFS authorization logic for directory hierarchy rooted at "/" is 
incorrect


Bugs: RANGER-4722
    https://issues.apache.org/jira/browse/RANGER-4722


Repository: ranger


Description (updated)
-------

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 (updated)
-------

Compiles clean and passes unit tests.


Thanks,

Abhay Kulkarni

Reply via email to