From deebf5fb818f37832e43ce9b1471a169cbb9e608 Mon Sep 17 00:00:00 2001 From: djuarezgf Date: Thu, 11 Apr 2024 13:57:28 +0200 Subject: [PATCH] Bugfix: Remove bridgehead state as accepted requirement for fetch token script --- src/main/java/de/samply/app/ProjectManagerController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/samply/app/ProjectManagerController.java b/src/main/java/de/samply/app/ProjectManagerController.java index e7e5073..b963eec 100644 --- a/src/main/java/de/samply/app/ProjectManagerController.java +++ b/src/main/java/de/samply/app/ProjectManagerController.java @@ -988,7 +988,7 @@ public ResponseEntity saveAndExecuteQueryInBridgehead( } @RoleConstraints(projectRoles = {ProjectRole.DEVELOPER, ProjectRole.PILOT, ProjectRole.FINAL}) - @StateConstraints(projectStates = {ProjectState.DEVELOP, ProjectState.PILOT, ProjectState.FINAL}, projectBridgeheadStates = {ProjectBridgeheadState.ACCEPTED}) + @StateConstraints(projectStates = {ProjectState.DEVELOP, ProjectState.PILOT, ProjectState.FINAL}) @ProjectConstraints(projectTypes = {ProjectType.DATASHIELD}) @FrontendSiteModule(site = ProjectManagerConst.PROJECT_VIEW_SITE, module = ProjectManagerConst.TOKEN_MANAGER_MODULE) @FrontendAction(action = ProjectManagerConst.DOWNLOAD_AUTHENTICATION_SCRIPT_ACTION)