You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hao Hao (JIRA)" <ji...@apache.org> on 2016/07/07 23:58:10 UTC

[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

     [ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hao Hao updated SENTRY-1311:
----------------------------
    Component/s:     (was: Sentry)
                 URI

> Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
> -------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1311
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1311
>             Project: Sentry
>          Issue Type: Bug
>          Components: URI
>    Affects Versions: 1.6.0
>            Reporter: Vadim Spector
>            Assignee: Vadim Spector
>             Fix For: 1.8.0
>
>         Attachments: SENTRY-1311.001.patch, SENTRY-1311.002.patch, SENTRY-1311.003.patch, SENTRY-1311.004.patch
>
>
> If URI has scheme when granting URI privileges, e.g. "grant all on uri 'hdfs:///path/to/table' to role <user-role>", subsequent table creation using URI without scheme "create external table tab1 (s string) location '/path/to/table'" fails with org.apache.hadoop.hive.ql.metadata.AuthorizationException: User <user-name> does not have privileges for CREATETABLE



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)