This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new 2b26db4 HBASE-25892: 'False' should be 'True' in auditlog of
listLabels (#3273)
2b26db4 is described below
commit 2b26db44fe97a282a77552d5ef4571a48a25bf24
Author: caoliqing <[email protected]>
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 <[email protected]>
---
.../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 65cc58e..e175818 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
@@ -992,7 +992,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);