Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/13681 )
Change subject: KUDU-2870: allow super-user to skip authz checks in Checksum ...................................................................... KUDU-2870: allow super-user to skip authz checks in Checksum In order to allow for the Kudu CLI to run a checksum scan (a process which currently doesn't fetch an authz token from the Master), this patch allows Checksum to proceed if the requesting user is a super-user. Testing: - A test is added to run the CLI against a tserver that enforces fine-grained access control. - A new test is added to test the super-user permissions for the Checksum endpoint. Change-Id: I9da21f41702da747a081ab037d75865748d981a8 Reviewed-on: http://gerrit.cloudera.org:8080/13681 Reviewed-by: Alexey Serbin <aser...@cloudera.com> Tested-by: Kudu Jenkins --- M src/kudu/integration-tests/security-itest.cc M src/kudu/server/server_base.cc M src/kudu/server/server_base.h M src/kudu/tools/kudu-tool-test.cc M src/kudu/tserver/tablet_service.cc 5 files changed, 109 insertions(+), 14 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/13681 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I9da21f41702da747a081ab037d75865748d981a8 Gerrit-Change-Number: 13681 Gerrit-PatchSet: 8 Gerrit-Owner: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Grant Henke <granthe...@apache.org> Gerrit-Reviewer: Hao Hao <hao....@cloudera.com> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Tidy Bot (241)