Skip to content

Commit

Permalink
Merge pull request #2362 from wangyu096/issue_2359
Browse files Browse the repository at this point in the history
fix: 作业模板-调试-去执行的申请权限跳转页Bad Request #2359
  • Loading branch information
jsonwan authored Aug 22, 2023
2 parents 733e0b3 + efecb90 commit 6b9af3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@ public Response<Long> savePlan(String username,
AuthResult authResult;
if (planId > 0) {
if (planService.isDebugPlan(appResourceScope.getAppId(), templateId, planId)) {
authResult = planAuthService.authEditJobPlan(username, appResourceScope, templateId,
planId, null);
authResult = templateAuthService.authDebugJobTemplate(username, appResourceScope, templateId);
} else {
authResult = planAuthService.authEditJobPlan(username, appResourceScope, templateId,
planId, null);
Expand Down Expand Up @@ -485,6 +484,7 @@ public Response<Long> savePlan(String username,
return Response.buildSuccessResp(savedPlanId);
}


@Override
public Response<Boolean> deletePlan(String username,
AppResourceScope appResourceScope,
Expand Down

0 comments on commit 6b9af3f

Please sign in to comment.