Himanshu Maurya created RANGER-4719:
---------------------------------------
Summary: Condition expressions are split by the Ranger UI on
commas
Key: RANGER-4719
URL: https://issues.apache.org/jira/browse/RANGER-4719
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: Himanshu Maurya
Assignee: Himanshu Maurya
While using GET_USER_ATTR('state', 'null') in policy condition.
It is observed that ranger is splitting condition string in to 2 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.
Kindly refer to screenshots attached below.
!Screenshot 2024-02-15 at 5.07.02 PM.png|width=639,height=372!
!Screenshot 2024-02-15 at 5.20.36 PM.png|width=640,height=111!
!Screenshot 2024-02-15 at 5.27.54 PM.png|width=635,height=174!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)