Skip to content

Commit

Permalink
fix: 作业模板-调试-去执行的申请权限跳转页Bad Request TencentBlueKing#2359
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu096 committed Aug 22, 2023
1 parent 733e0b3 commit efecb90
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 efecb90

Please sign in to comment.