Adam Holley has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9805


Change subject: IMPALA-6649: Add fine-graned ALTER privilege
......................................................................

IMPALA-6649: Add fine-graned ALTER privilege

Updated support and analysis files to provide ALTER privilege.

Example statements:
GRANT ALTER on DATABASE svr TO ROLE testrole;
GRANT ALTER on TABLE db TO ROLE testrole;

REVOKE ALTER on DATABASE svr FROM ROLE testrole;
REVOKE ALTER on TABLE db FROM ROLE testrole;

Tests:
Added ALTER tests to cover scope of existing ALTER tests but in
the context of only having ALTER privilege.

Change-Id: I0b25d10a8634829fbe90e308dfc7efc8182fef2d
Cherry-picks: not for 2.x
---
M common/thrift/CatalogObjects.thrift
M fe/src/main/cup/sql-parser.cup
M fe/src/main/java/org/apache/impala/authorization/Privilege.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeAuthStmtsTest.java
M fe/src/test/java/org/apache/impala/analysis/AuthorizationTest.java
M fe/src/test/resources/authz-policy.ini.template
6 files changed, 113 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/05/9805/1
--
To view, visit http://gerrit.cloudera.org:8080/9805
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b25d10a8634829fbe90e308dfc7efc8182fef2d
Gerrit-Change-Number: 9805
Gerrit-PatchSet: 1
Gerrit-Owner: Adam Holley <[email protected]>

Reply via email to