Chunling Wang created HAWQ-1239:
-----------------------------------
Summary: Fail to call pg_rangercheck_batch() when when
"rte->rtekind != RTE_RELATION" or "requiredPerms == 0"
Key: HAWQ-1239
URL: https://issues.apache.org/jira/browse/HAWQ-1239
Project: Apache HAWQ
Issue Type: Bug
Components: Security
Reporter: Chunling Wang
Assignee: Ed Espino
In ExecCheckRTPermsWithRanger(), it should continue but not return when
"rte->rtekind != RTE_RELATION" or "requiredPerms == 0".
{code}
if (rte->rtekind != RTE_RELATION)
return;
requiredPerms = rte->requiredPerms;
if (requiredPerms == 0)
return;
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)