Description
RANGER-3550 introduced support for referencing user attributes in row-filter expressions.
Extending use of user attributes in masking expressions can help address more use cases, including the following:
Restrict users to see email address of customers in user's country only; email address of other customers must be masked:
CASE WHEN country = '${{USER.country}}' THEN {col} ELSE mask({col}) END