[
https://issues.apache.org/jira/browse/SENTRY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sravya Tirukkovalur updated SENTRY-964:
---------------------------------------
Description:
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/hh*' 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*';
was:
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*';
> 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/hh*' 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)