You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/09/16 02:09:53 UTC

[GitHub] [inlong] woofyzhao commented on a diff in pull request #5898: [INLONG-5897][Manager] Support query audit data by user role

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


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/core/impl/AuditServiceImpl.java:
##########
@@ -70,12 +78,21 @@ public class AuditServiceImpl implements AuditService {
     private static final String HOUR_FORMAT = "yyyy-MM-dd HH";
     private static final String DAY_FORMAT = "yyyy-MM-dd";
 
+    @Value("#{'${audit.admin.ids:3,4,5,6,7,8}'.split(',')}")

Review Comment:
   1. doc and inlong audit definition url link added.
   2. set those ids in application.properties like:
   audit.admin.ids = 3,4,5,6,7,8
   audit.user.ids = 3,8
   
   



-- 
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-unsubscribe@inlong.apache.org

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