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

Prasad Mujumdar resolved SENTRY-316.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Sentry 1.5 onward is not using filterHooks for filtering metadata. The check is 
pushed into metastore plugin which has the correct db name.

> Users should be allowed to see tables in a db on which the user has 
> authorization without having to switch to the db.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-316
>                 URL: https://issues.apache.org/jira/browse/SENTRY-316
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>             Fix For: 1.5.0
>
>
> Assume user has SELECT and INSERT privileges on say 'test_db'.'test_table'.
> On connecting to Hive, user is placed in the 'default' .
> If the user executes : SHOW TABLES in test_db
> no rows are returned.
> If the user does a : USE test_db
> and then does a : SHOW TABLES in test_db
> then, the table 'test_table' is returned.



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

Reply via email to