You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Chunling Wang (JIRA)" <ji...@apache.org> on 2017/01/03 03:56:58 UTC

[jira] [Updated] (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:all-tabpanel ]

Chunling Wang updated HAWQ-1239:
--------------------------------
    Fix Version/s: 2.2.0.0-incubating

> 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
>             Fix For: 2.2.0.0-incubating
>
>
> 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)