sentry-commits mailing list archives

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

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

Shreepadma Venugopalan commented on SENTRY-1:
---------------------------------------------

The way I understand the current behavior is as long as a user has privileges to any object
in the warehouse (s)he should be allowed to use default. But is this the behavior we want?
Should we allow access to default even if the user doesn't have privileges to access any other
object? With this patch, the behavior is such that we essentially restrict connect unless
the user has access to some object in the warehouse.
                
> 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