[
https://issues.apache.org/jira/browse/SENTRY-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Hao updated SENTRY-1175:
----------------------------
Attachment: (was: SENTRY-1175.0.patch)
> Improve usability of URI privileges when granting URIs
> ------------------------------------------------------
>
> Key: SENTRY-1175
> URL: https://issues.apache.org/jira/browse/SENTRY-1175
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Reporter: Hao Hao
> Assignee: Hao Hao
> Fix For: 1.8.0
>
> Attachments: SENTRY-1175.0.patch
>
>
> If URI has no scheme and authority when granting URI privileges, e.g GRANT
> ALL ON URI '/path/to/table'. Sentry should automatically handle it with
> default scheme and authority based on the Hadoop configs Sentry has been
> given.
> There are two places could be changed to support it:
> * When grant the URI privileges
> * When check the URI privileges
> However, when granting the URI privileges, the URI path does not necessary
> needs to be presented in the filesystem, thus choose to make the URI fully
> qualified during the privileges checking time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)