You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Vadim Spector (JIRA)" <ji...@apache.org> on 2016/12/13 21:01:00 UTC
[jira] [Updated] (SENTRY-1565) some unit tests mistakenly use
"grant create" instead of "grant all" queries
[ https://issues.apache.org/jira/browse/SENTRY-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Spector updated SENTRY-1565:
----------------------------------
Attachment: SENTRY-1565.001.patch
> some unit tests mistakenly use "grant create" instead of "grant all" queries
> ----------------------------------------------------------------------------
>
> Key: SENTRY-1565
> URL: https://issues.apache.org/jira/browse/SENTRY-1565
> Project: Sentry
> Issue Type: Bug
> Reporter: Vadim Spector
> Assignee: Vadim Spector
> Attachments: SENTRY-1565.001.patch
>
>
> Specific offenders:
> sentry-tests/sentry-tests-hive-v2/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestColumnEndToEnd.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role1");
> sentry-tests/sentry-tests-hive-v2/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestColumnEndToEnd.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role2");
> sentry-tests/sentry-tests-hive-v2/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestColumnEndToEnd.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role3");
> sentry-tests/sentry-tests-hive-v2/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestDbPrivilegeCleanupOnDrop.java: // For rename, grant CREATE to DB1
> sentry-tests/sentry-tests-hive-v2/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestDbPrivilegeCleanupOnDrop.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role");
> sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestColumnEndToEnd.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role1");
> sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestColumnEndToEnd.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role2");
> sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestColumnEndToEnd.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role3");
> sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestDbPrivilegeCleanupOnDrop.java: statement.execute("GRANT CREATE ON DATABASE " + DB1 + " TO ROLE user_role");
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)