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

(Updated March 6, 2024, 11:50 a.m.)


Review request for ranger, bhavik patel, Dhaval Shah, Dineshkumar Yadav, 
Harshal Chavan, Kishor Gollapalliwar, Madhan Neethiraj, Mehul Parikh, Nitin 
Galave, Pradeep Agrawal, and Velmurugan Periasamy.


Repository: ranger


Description
-------

While using attributes with default values introduced in RANGER-3997 like 
GET_USER_ATTR('state', 'null') in policy condition.
It is observed that ranger is splitting condition string in to parts separated 
by comma of the parameters passed to GET_USER_ATTR(), due to this it is not 
taking default value and conditions are converted to invalid strings.


Diffs (updated)
-----

  agents-common/src/main/java/org/apache/ranger/plugin/util/ServiceDefUtil.java 
ea76e6c33 


Diff: https://reviews.apache.org/r/74897/diff/2/

Changes: https://reviews.apache.org/r/74897/diff/1-2/


Testing
-------

Done the required code changes and installed ranger.
Validated the policy conditions with default comma separated parameters passed 
with attributes.


Thanks,

Himanshu Maurya

Reply via email to