[ 
https://issues.apache.org/jira/browse/HAWQ-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chunling Wang closed HAWQ-1237.
-------------------------------

> Insert statement need "select" privilege in ranger check 
> ---------------------------------------------------------
>
>                 Key: HAWQ-1237
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1237
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Security
>            Reporter: Chunling Wang
>            Assignee: Chunling Wang
>             Fix For: 2.2.0.0-incubating
>
>
> The code in create_ranger_request_json_batch() in rangerrest.c is hard code 
> and make all statements need "select" privilege in ranger check.
> {code}
>               //ListCell *cell;
>               //foreach(cell, arg_ptr->actions)
>               //{
>               char tmp[7] = "select";
>               json_object* jaction = json_object_new_string((char *)tmp);
>               //json_object* jaction = json_object_new_string((char 
> *)cell->data.ptr_value);
>               json_object_array_add(jactions, jaction);
>               //}
>               json_object_object_add(jelement, "privileges", jactions);
>               json_object_array_add(jaccess, jelement);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to