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

chuanjie.duan updated RANGER-1928:
----------------------------------
    Attachment: RANGER-1928.001.patch

> hive show databases retrun all database when udf database policy set to *
> -------------------------------------------------------------------------
>
>                 Key: RANGER-1928
>                 URL: https://issues.apache.org/jira/browse/RANGER-1928
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>    Affects Versions: 0.6.3, 0.7.1
>            Reporter: chuanjie.duan
>         Attachments: RANGER-1928.001.patch
>
>
> Hive didn't division with 'create' and 'udf create'. We can use hive udf 
> policy 'database {USER}, and {USER} give create permission' for permanent 
> type because dbname has a value. But for temporary udf dbname always return 
> empty. Workaround, we can set 'database *', but 'show databases' would return 
> all database, it isn't we want. I remove the permission checking for 
> temporary udf. Temporary udf's scope is session, so it won't affect other 
> user.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to