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

Review request for ranger, Madhan Neethiraj, Ramesh Mani, Sailaja Polavarapu, 
and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

Use case: When an accessed resource is associated with multiple tags of the 
same type but with different attribute values, current API to retrieve value of 
an attribute incorrectly returns a scalar attribute value of any of the 
associated tags. This may lead to incorrect access evaluation. The API needs to 
return an array of values to caller. The caller then may decide how to use the 
values.

Added APIs to return a list of values from associated tags instead of a single 
value from a randomly selected tag.


Diffs
-----

  
agents-common/src/main/java/org/apache/ranger/plugin/conditionevaluator/RangerScriptExecutionContext.java
 dc4ede9a7 
  
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerAccessRequestUtil.java
 a22027a46 


Diff: https://reviews.apache.org/r/73291/diff/1/


Testing
-------

Passes all unit tests.


Thanks,

Abhay Kulkarni

Reply via email to