sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-1) use default on HiveServer2 fails with invalid privileges exception
Date Fri, 06 Sep 2013 21:01:51 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760619#comment-13760619
] 

Prasad Mujumdar commented on SENTRY-1:
--------------------------------------

IMO, if you shouldn't be allowed any operation on an object unless you have that privilege.
The 'use default' is an exception. Its not uncommon for queries or connectors to start off
with default database. That's the rationale for allowing access default, it will make it easier
for existing applications to work with Sentry.
Is there a use case to take this exception further and allow anybody to switch to default
?

                
> use default on HiveServer2 fails with invalid privileges exception
> ------------------------------------------------------------------
>
>                 Key: SENTRY-1
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Shreepadma Venugopalan
>            Assignee: Prasad Mujumdar
>         Attachments: SENTRY-1.1.patch
>
>
> As part of the design, we decided not to restrict access to the default db. However if
a user connects to HS2 and performs a use default, it fails with no privileges exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message