From c2e8e7ec37f674d012c90df73bf3e03dc985098a Mon Sep 17 00:00:00 2001 From: Victor Santos Date: Thu, 6 Nov 2025 20:32:28 -0300 Subject: [PATCH] feat: enhance LDAP connection schema to support gateways in update operations --- .../services/app-connection/ldap/ldap-connection-schemas.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/services/app-connection/ldap/ldap-connection-schemas.ts b/backend/src/services/app-connection/ldap/ldap-connection-schemas.ts index 7fc56d9d1..109173ec0 100644 --- a/backend/src/services/app-connection/ldap/ldap-connection-schemas.ts +++ b/backend/src/services/app-connection/ldap/ldap-connection-schemas.ts @@ -85,7 +85,11 @@ export const UpdateLdapConnectionSchema = z AppConnections.UPDATE(AppConnection.LDAP).credentials ) }) - .and(GenericUpdateAppConnectionFieldsSchema(AppConnection.LDAP)); + .and( + GenericUpdateAppConnectionFieldsSchema(AppConnection.LDAP, { + supportsGateways: true + }) + ); export const LdapConnectionListItemSchema = z.object({ name: z.literal("LDAP"),