Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: enhance LDAP connection schema to support gateways in update operations
Victor Santosc2e8e7ec37f6
diff --git a/backend/src/services/app-connection/ldap/ldap-connection-schemas.ts b/backend/src/services/app-connection/ldap/ldap-connection-schemas.tsindex 7fc56d9d18..109173ec0c 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 = zAppConnections.UPDATE(AppConnection.LDAP).credentials)})- .and(GenericUpdateAppConnectionFieldsSchema(AppConnection.LDAP));+ .and(+ GenericUpdateAppConnectionFieldsSchema(AppConnection.LDAP, {+ supportsGateways: true+ })+ );export const LdapConnectionListItemSchema = z.object({name: z.literal("LDAP"),