healchow commented on code in PR #5898:
URL: https://github.com/apache/inlong/pull/5898#discussion_r971507573


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/core/impl/AuditServiceImpl.java:
##########
@@ -128,6 +148,24 @@ public List<AuditVO> listByCondition(AuditRequest request) 
throws IOException {
         return aggregateByTimeDim(result, request.getTimeStaticsDim());
     }
 
+    @Override
+    public List<AuditVO> listByRole(AuditRequest request) throws IOException {
+        UserInfo userInfo = LoginUserUtils.getLoginUser();
+        List<String> adminAuditIds = Arrays.asList(

Review Comment:
   Suggest extracting to an immutable constant.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to