Files
impala/testdata/workloads/functional-query/queries/QueryTest
Lenni Kuff ffe9e4b74e [CDH5] Add support for GRANT/REVOKE to Impala
This change adds support for GRANT/REVOKE to Impala via the Sentry Service. This includes
support for creating and dropping roles, granting and revoking roles to/from groups,
granting/revoking privileges to/from roles, and commands to view role metadata.

The specific statements that are added in this patch are:
CREATE/DROP ROLE <roleName>
SHOW ROLES
SHOW ROLE GRANT GROUP <groupName>
GRANT/REVOKE ROLE <roleName> TO/FROM GROUP <groupName>
GRANT/REVOKE <privilegeSpec> TO/FROM <roleName

It does not include some of the fancier bulk-op syntax like support for granting multiple
roles to multiple groups in one statement.

This patch does not add support for the WITH GRANT OPTION to delegate GRANT/REVOKE
privileges to other users.

TODO:
* Authorize these statements on the client side. The current Sentry Service design makes
  it difficult to authorize any GRANT/REVOKE statement on the client (Impala) side.
  Privilege checks are done within the Sentry Service itself. There are a few different
  options available to let Impala "fail fast" and those changes will come in a follow
  on patch.

Change-Id: Ic6bd19f5939d3290255222dcc1a42ce95bd345e2
2014-09-13 21:21:10 -07:00
..
2014-08-27 13:41:42 -07:00
2014-09-13 00:19:20 -07:00
2014-05-16 22:26:11 -07:00
2014-06-24 02:14:27 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-08-17 12:44:44 -07:00
2014-06-24 02:14:27 -07:00
2014-09-13 00:17:33 -07:00
2014-03-17 17:30:15 -07:00
2014-06-24 02:14:27 -07:00
2014-06-11 03:10:11 -07:00
2014-06-24 02:14:27 -07:00
2014-09-11 08:47:23 -07:00
2014-06-24 02:14:27 -07:00
2014-06-24 02:14:27 -07:00
2014-06-26 22:17:56 -07:00
2014-01-08 10:48:09 -08:00
2014-06-20 13:35:10 -07:00
2014-06-24 02:14:27 -07:00