This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push: new edde01c HBASE-25892: 'False' should be 'True' in auditlog of listLabels (#3273) edde01c is described below commit edde01c605ec6d6ec5def42d865f0dd62cd58c5a Author: caoliqing <1714153...@qq.com> AuthorDate: Sat May 22 11:22:51 2021 +0800 HBASE-25892: 'False' should be 'True' in auditlog of listLabels (#3273) Signed-off-by: Duo Zhang <zhang...@apache.org> --- .../apache/hadoop/hbase/security/visibility/VisibilityController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java index 7c4b7ab..630e5db 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java @@ -929,7 +929,7 @@ public class VisibilityController implements MasterCoprocessor, RegionCoprocesso + "' is not authorized to perform this action."); } labels = this.visibilityLabelService.listLabels(regex); - logResult(false, "listLabels", "Listing labels allowed", null, null, regex); + logResult(true, "listLabels", "Listing labels allowed", null, null, regex); } catch (AccessDeniedException e) { logResult(false, "listLabels", e.getMessage(), null, null, regex); CoprocessorRpcUtils.setControllerException(controller, e);