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 2017/12/14 08:26:01 UTC
[jira] [Created] (RANGER-1928) hive show databases retrun all
database when udf database policy set to *
chuanjie.duan created RANGER-1928:
-------------------------------------
Summary: 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
Reporter: chuanjie.duan
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)