[ 
https://issues.apache.org/jira/browse/RANGER-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj updated RANGER-3865:
-------------------------------------
    Attachment: RANGER-3865.patch

> 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
>            Assignee: Madhan Neethiraj
>            Priority: Major
>         Attachments: RANGER-3865.patch
>
>
> 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