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

Lenni Kuff commented on SENTRY-575:
-----------------------------------

+1 pending tests. Thanks [~asuresh]!

> Table GRANTS should not Override Database GRANT in the Sentry HDFS plugin
> -------------------------------------------------------------------------
>
>                 Key: SENTRY-575
>                 URL: https://issues.apache.org/jira/browse/SENTRY-575
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>              Labels: sentry-hdfs
>         Attachments: SENTRY-575.1.patch
>
>
> Steps to reproduce :
> 1) create role *test_role*
> 2) grant *test_role* to some group *test_group*
> 3) grant ALL on *default* database to *test_role*
> 4) verify that group *test_group* has *rwx* access on */user/hive/warehouse*
> 5) create table *test_table* in database *default*
> 6) verify that group *test_group* has *rwx* access on 
> */user/hive/warehouse/test_table*
> 7) grant SELECT on *test_table* table to *test_role*
> 8) Notice that group *test_group* will have only *r-x* access on 
> */user/hive/warehouse/test_table* instead of the expected *rwx*



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

Reply via email to