suja s created RANGER-4690:
------------------------------
Summary: Access Audits - Resource policy version used for mask
policy leading to Error page
Key: RANGER-4690
URL: https://issues.apache.org/jira/browse/RANGER-4690
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: suja s
Create a ranger hive policy for user u1 to access table t1.
Create table t1 and add data
Edit the policy to have multiple versions. Polocy version is now 'y'
Create a ranger hive masking policy for one of the columns of t1.
Edit the policy to have multiple versions. Policy version is less than 'y'
example, if resource policy version is 5, have masking policy version as 4.
Try insert command on t1. It fails now as there is a masking policy.
Inspect access audits on ranger admin UI. Click on policyid for the denied
audit for insert
CURRENT BEHAVIOUR:
Access audits show version of resource policy for mask policy id, so querying
for policy details leads to data not found error page
Policy cache json file on plugin side has the right version, x_policy table has
the right entries for corresponding masking policy
--
This message was sent by Atlassian Jira
(v8.20.10#820010)