[
https://issues.apache.org/jira/browse/SENTRY-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027306#comment-14027306
]
Sravya Tirukkovalur commented on SENTRY-287:
--------------------------------------------
@Arun, I see that you added a testcase to TestPrivilegesAtDatabaseScope.
Actually only the test cases in TestDbendtoend use the actual grant/revoke
statements to assign privileges. Other tests are directly talking to Sentry
service. That is the reason I am adding this test here as some one reported a
problem in this scenario. Eventually, it would be good to migrate tests to use
grant/revoke statements instead of talking to sentry client directly. So that
we have maximum coverage and less duplication.
> Add test case for giving select privieleges on a table in a non default
> database
> --------------------------------------------------------------------------------
>
> Key: SENTRY-287
> URL: https://issues.apache.org/jira/browse/SENTRY-287
> Project: Sentry
> Issue Type: Test
> Affects Versions: 1.4.0
> Reporter: Sravya Tirukkovalur
> Assignee: Sravya Tirukkovalur
> Labels: grant/revoke
> Fix For: 1.4.0
>
> Attachments: SENTRY-287.patch
>
>
> I am not entirely sure if we already have the exact test case covered as part
> of the test, where we give a user select privilege on a non default database
> using grant/revoke statements. I could not find one, so attaching a new test
> case here.
--
This message was sent by Atlassian JIRA
(v6.2#6252)