You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Anne Yu (JIRA)" <ji...@apache.org> on 2015/11/18 01:26:11 UTC
[jira] [Commented] (SENTRY-964) Need to do case insensitive checks
for childURI.implies(parentURI)
[ https://issues.apache.org/jira/browse/SENTRY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009917#comment-15009917 ]
Anne Yu commented on SENTRY-964:
--------------------------------
[~sravya], one correction from what I observed from a testing:
Following does not seem to work:
grant all on URI '/tmp/ABC' to role test_sentry;
create external table test(col int) location '/tmp/ABC/hh';
But following seems to work:
grant all on URI '/tmp/ABC' to role test_sentry;
create external table test(col int) location '/tmp/abc/hh';
> Need to do case insensitive checks for childURI.implies(parentURI)
> ------------------------------------------------------------------
>
> Key: SENTRY-964
> URL: https://issues.apache.org/jira/browse/SENTRY-964
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Sravya Tirukkovalur
> Assignee: Sravya Tirukkovalur
> Fix For: 1.7.0
>
> Attachments: SENTRY-964.0.patch
>
>
> Following does not seem to work:
> grant all on URI '*/tmp/ABC*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
> But following seems to work:
> grant all on URI '*/tmp/ABC/hhh*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
> grant all on URI '*/tmp/abc*' to role test_sentry;
> create external table test(col int) location '*/tmp/abc/hh*';
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)