fix(integrations): accept persisted IDs when updating (#6985)

This commit is contained in:
Thomas authored and GitHub committed 2026-10-03 22:33:30 +02:00
1 parent e048ae9cd7
commit 121a50cb19
2 files changed
+5 -1

No files matched your search

@@ -52,6 +52,9 @@ used by widgets that open the service.
Integrations can also be created while adding content to a board. Editing a connection from a widget updates that
integration everywhere it is used.
Existing integration IDs are preserved when editing, including IDs containing hyphens from externally seeded data.
Changing settings requires full access to that integration; IDs do not grant access.
## Permissions
| Level | Allows |
+2 -1
View File
@@ -29,7 +29,8 @@ export const integrationCreateSchema = z.object({
});
export const integrationUpdateSchema = z.object({
id: z.string().cuid2(),
// Updates address an existing row, including externally seeded IDs.
id: z.string().nonempty(),
name: z.string().nonempty().max(127),
url: z.string().url(),
secrets: z.array(