From 3afd5016bb14ed8763f8de9bc0d4a4314fe7c475 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Thu, 4 Dec 2025 23:16:08 +0100 Subject: [PATCH 1/2] fix: check if the appeal phase is open while updating appeals --- src/api/appeal/appeal.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api/appeal/appeal.service.ts b/src/api/appeal/appeal.service.ts index 8f50b66..b3d09d9 100644 --- a/src/api/appeal/appeal.service.ts +++ b/src/api/appeal/appeal.service.ts @@ -267,6 +267,11 @@ export class AppealService { ); } + // Check if the appeal phase is open while updating appeals + if (!isPrivileged && challengeId) { + await this.challengeApiService.validateAppealSubmission(challengeId); + } + if (!isPrivileged) { await this.ensureChallengeAllowsAppealChange(challengeId, { logContext: 'updateAppeal', From 4d847d991e5cad64cd223a5c2820743119188a49 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Thu, 4 Dec 2025 23:17:30 +0100 Subject: [PATCH 2/2] fix: check if the appeal phase is open while updating appeals --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d2a8e8d..914aad3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,6 +74,7 @@ workflows: branches: only: - develop + - pm-2660 - 'build-prod':