You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Xiang Sheng (JIRA)" <ji...@apache.org> on 2016/12/29 16:50:58 UTC
[jira] [Commented] (HAWQ-1239) Fail to call pg_rangercheck_batch()
when when "rte->rtekind != RTE_RELATION" or "requiredPerms == 0"
[ https://issues.apache.org/jira/browse/HAWQ-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785670#comment-15785670 ]
Xiang Sheng commented on HAWQ-1239:
-----------------------------------
If the code have been merged into master, please filled the Fix version and resolve & close this JIRA. Thanks.
> 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: Chunling Wang
>
> 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)