Madhan Neethiraj created RANGER-3865:
----------------------------------------

             Summary: support for using user attributes in masking expressions
                 Key: RANGER-3865
                 URL: https://issues.apache.org/jira/browse/RANGER-3865
             Project: Ranger
          Issue Type: Improvement
          Components: plugins
            Reporter: Madhan Neethiraj


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:
{code:java}
CASE WHEN country = '${{USER.country}}' THEN {col} ELSE mask({col}) END{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to