You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/20 06:56:31 UTC

[GitHub] [dolphinscheduler] WangJPLeo commented on a diff in pull request #10832: [Feature][Api] Refactor org.apache.dolphinscheduler.api.controller.ProjectController

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: commits-unsubscribe@dolphinscheduler.apache.org

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