You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "chuanjie.duan (JIRA)" <ji...@apache.org> on 2018/05/07 09:41:00 UTC

[jira] [Updated] (RANGER-2097) Hive Agent "user [test] does not have [USE] privilege on [test]" no when deny policy enabled

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

chuanjie.duan updated RANGER-2097:
----------------------------------
    Description: 
Reproduce step:

1. Hive agent enable deny policy "\{"enableDenyAndExceptionsInPolicies":"true"}" in ranger meta,

2. add policy "database:\{USER}, table:* column:* "

3. create user:test database:test in linux and hive

4. add deny policy "database:test, table:*, column:*, deny: \{group:public, action:drop}"

5.beeline connect to hive and "use test"

 

> Hive Agent "user [test] does not have [USE] privilege on [test]" no when deny policy enabled 
> ---------------------------------------------------------------------------------------------
>
>                 Key: RANGER-2097
>                 URL: https://issues.apache.org/jira/browse/RANGER-2097
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 0.6.3
>            Reporter: chuanjie.duan
>            Priority: Major
>
> Reproduce step:
> 1. Hive agent enable deny policy "\{"enableDenyAndExceptionsInPolicies":"true"}" in ranger meta,
> 2. add policy "database:\{USER}, table:* column:* "
> 3. create user:test database:test in linux and hive
> 4. add deny policy "database:test, table:*, column:*, deny: \{group:public, action:drop}"
> 5.beeline connect to hive and "use test"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)