WangJPLeo commented on code in PR #10832:
URL: https://github.com/apache/dolphinscheduler/pull/10832#discussion_r925240929


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java:
##########
@@ -401,7 +403,7 @@ public Result querySchedule(User loginUser, long 
projectCode, long processDefine
         Project project = projectMapper.queryByCode(projectCode);
 
         // check project auth
-        boolean hasProjectAndPerm = 
projectService.hasProjectAndPerm(loginUser, project, result);
+        boolean hasProjectAndPerm = 
projectService.hasProjectAndPerm(loginUser, project, result, PROJECT);

Review Comment:
   No problem here, LGTM.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to