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


Fix it, then Ship it!





agents-common/src/main/java/org/apache/ranger/plugin/util/RangerAccessRequestUtil.java
Lines 214 (patched)
<https://reviews.apache.org/r/74296/#comment313923>

    Since getIsRequestPreprocessed() wouldn't return null, consider changing 
the return type to "boolean".


- Madhan Neethiraj


On Feb. 4, 2023, 6:42 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74296/
> -----------------------------------------------------------
> 
> (Updated Feb. 4, 2023, 6:42 p.m.)
> 
> 
> Review request for ranger, madhan and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-4070
>     https://issues.apache.org/jira/browse/RANGER-4070
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger enriches the access request before it is evaluated for access. The 
> request enrichment is done when Ranger APIs provided in for access evaluation 
> are invoked. 
> 
> There may be some control flows where there is a potential of same access 
> request getting enriched multiple times. Request enrichment may be an 
> expensive operation, hence a mechanism to control access enrichment is such 
> scenarios is desirable.
> 
> 
> Diffs
> -----
> 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/service/RangerDefaultRequestProcessor.java
>  636d09038 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/util/RangerAccessRequestUtil.java
>  05d9a6007 
> 
> 
> Diff: https://reviews.apache.org/r/74296/diff/1/
> 
> 
> Testing
> -------
> 
> Compiled clean and ran all unit tests successfully
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>

Reply via email to