From 2ef5d90e13d46e29e4b49db8c13b01454a9d2bb9 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Fri, 27 Feb 2026 04:24:33 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20update=20policy=20in=20int?= =?UTF-8?q?egration=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routers/integration.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/routers/integration.ts b/server/routers/integration.ts index e52e710ee..3d4f29fec 100644 --- a/server/routers/integration.ts +++ b/server/routers/integration.ts @@ -410,6 +410,13 @@ authenticated.post( resource.updateResource ); +authenticated.put( + "/resource-policy/:resourcePolicyId", + verifyApiKeyResourcePolicyAccess, + verifyApiKeyHasAction(ActionsEnum.updateResourcePolicy), + policy.updateResourcePolicy +); + authenticated.delete( "/resource/:resourceId", verifyApiKeyResourceAccess,