Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

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.ts
index 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 = 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"),