Hao Hao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13657


Change subject: [sentry] add require_db_privileges flag for ListTables
......................................................................

[sentry] add require_db_privileges flag for ListTables

This patch adds a sentry_require_db_privileges_for_list_tables flag to
allow enforcing database level privileges for ListTables. The motivation
is to reduce time spend on authorization when there are a small amount
of databases but many tables in these. However, note that when the flag
is set to true, users with no database level privileges on a database
will not be able to see any tables within it.

Change-Id: I6a225932b22470d653d4b40678f32c2b5cb8329c
---
M src/kudu/master/sentry_authz_provider-test.cc
M src/kudu/master/sentry_authz_provider.cc
2 files changed, 19 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/57/13657/1
--
To view, visit http://gerrit.cloudera.org:8080/13657
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a225932b22470d653d4b40678f32c2b5cb8329c
Gerrit-Change-Number: 13657
Gerrit-PatchSet: 1
Gerrit-Owner: Hao Hao <hao....@cloudera.com>

Reply via email to