[
https://issues.apache.org/jira/browse/RANGER-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mahesh Bandal updated RANGER-5825:
----------------------------------
Summary: HDFS directory rename must enforce Ranger policies when
optimization is enabled (was: Fix HDFS authz optimization bypass on directory
rename)
> HDFS directory rename must enforce Ranger policies when optimization is
> enabled
> -------------------------------------------------------------------------------
>
> Key: RANGER-5825
> URL: https://issues.apache.org/jira/browse/RANGER-5825
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 3.0.0
> Reporter: Mahesh Bandal
> Assignee: Mahesh Bandal
> Priority: Major
>
> When ranger.hdfs.authz.enable.optimization is enabled (default), rename of a
> directory inode could be short-circuited to allow without Ranger policy
> evaluation on the source path. That could permit moving or trashing
> directories the user is not authorized to modify on the source, while checks
> on the destination (e.g. the user's .Trash) still succeed.
> Align directory rename handling with the existing optimized delete path so
> substantive rename checks are evaluated. File renames and other optimized
> operations are unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)