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)

Reply via email to