From ac240b827d9cf0d3b25f340ae1060da9bc95eccc Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Tue, 20 May 2025 16:18:31 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E8=AF=A6=E6=83=85-=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8F=AA=E6=9C=89=E5=8D=95=E4=B8=AA=E6=89=B9=E9=87=8F=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E7=9A=84=E6=9D=83=E9=99=90=EF=BC=8C=E6=8E=A5=E7=AE=A1?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E5=90=8E=EF=BC=8C=E4=BD=9C=E4=B8=9A=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=BC=96=E8=BE=91=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1410970058981376]批量作业详情-用户只有单个批量作业的权限,接管作业后,作业出现编辑按钮 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1410970058981376 --- .../module/deploy/auth/core/BatchDeployAuthChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/neatlogic/module/deploy/auth/core/BatchDeployAuthChecker.java b/src/main/java/neatlogic/module/deploy/auth/core/BatchDeployAuthChecker.java index fc8ea18c..6b528139 100644 --- a/src/main/java/neatlogic/module/deploy/auth/core/BatchDeployAuthChecker.java +++ b/src/main/java/neatlogic/module/deploy/auth/core/BatchDeployAuthChecker.java @@ -99,7 +99,7 @@ public class BatchDeployAuthChecker { if (!Objects.equals(JobStatus.CHECKED.getValue(), deployJobVo.getStatus())) { if (!Objects.equals(deployJobVo.getReviewStatus(), ReviewStatus.WAITING.getValue())) { return Arrays.asList(JobStatus.READY.getValue(), JobStatus.PENDING.getValue(), JobStatus.SAVED.getValue(), JobStatus.COMPLETED.getValue(), JobStatus.FAILED.getValue()).contains(deployJobVo.getStatus()) - && (AuthActionChecker.checkByUserUuid(UserContext.get().getUserUuid(true), BATCHDEPLOY_MODIFY.class.getSimpleName()) || Objects.equals(deployJobVo.getExecUser(), UserContext.get().getUserUuid(true))); + && (AuthActionChecker.checkByUserUuid(UserContext.get().getUserUuid(true), BATCHDEPLOY_MODIFY.class.getSimpleName())); } } return false; -- Gitee