[
https://issues.apache.org/jira/browse/RANGER-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534456#comment-17534456
]
Ramesh Mani commented on RANGER-3753:
-------------------------------------
[~madhan] I shall review and have it in 2.3 release. Thanks
> Hive masking policies don't recognize {OWNER} user
> --------------------------------------------------
>
> Key: RANGER-3753
> URL: https://issues.apache.org/jira/browse/RANGER-3753
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
> Attachments: RANGER-3753.patch
>
>
> Hive masking policies don't recognize \{OWNER} user. Consider the following
> masking policy:
> {noformat}
> resource: database=db1, table=tbl1, column=col1
> policyItem-1: user={OWNER}, accessType=select, maskType=MASK_NONE
> policyItem-2: group=public, accessType=select, maskType=MASK_NULL{noformat}
>
> Expected result:
> When column db1.tbl1.col1 is accessed by the owner of table, the column value
> should be returned to the user without applying any masking. For all other
> users, NULL value should be returned.
> Observed result:
> Value returned for all users is NULL, even for the owner of the table.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)