Madhan Neethiraj created RANGER-3753:
----------------------------------------

             Summary: 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


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)

Reply via email to