You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "dhomme (JIRA)" <ji...@apache.org> on 2018/08/10 08:59:00 UTC
[jira] [Commented] (RANGER-2185) Hive Plugin show databases
permission denied when user has access to some of the databases
[ https://issues.apache.org/jira/browse/RANGER-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16575976#comment-16575976 ]
dhomme commented on RANGER-2185:
--------------------------------
Patch is available at the Review Board.
https://reviews.apache.org/r/68290/
> Hive Plugin show databases permission denied when user has access to some of the databases
> ------------------------------------------------------------------------------------------
>
> Key: RANGER-2185
> URL: https://issues.apache.org/jira/browse/RANGER-2185
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Affects Versions: 1.0.0
> Reporter: dhomme
> Priority: Major
> Labels: security
> Attachments: 0001-RANGER-2185-fix-showdatabases-permission-when-user-h.patch
>
>
> Add a resource based policy to allow a user, hive, has access to the default database. Then execute 'show databases;' via beeline, the user should see 'default'. Instead following error is shown:
> Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [hive] does not have [USE] privilege on [*] (state=42000,code=40000)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)