This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 1e1ac9e HBASE-25892: 'False' should be 'True' in auditlog of
listLabels (#3273)
1e1ac9e is described below
commit 1e1ac9eda317b44962d5b4c12f3b4a5df26733d3
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 b6f3a84..1888ce5 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
@@ -936,7 +936,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);