n8n/packages/cli/src/workflows
Guillaume Jacquart d55dd9b60d
feat: Add private credentials PoC (no-changelog)
Builds on the existing dynamic-credentials.ee module to let workflow
builders mark a credential as private so each user connects their own
copy.

- Toggle in credential edit UI relabeled to Static / Private.
- Manual editor runs seed an execution credential context from the
  running user so N8NCredentialResolver writes/reads per-user entries.
- OAuth2 "Connect" flow routes through the dynamic-credential origin
  for private credentials, writing tokens to DynamicCredentialUserEntry
  instead of the shared static data.
- Auto-bind a system-managed self-connect resolver: lazy-seeded on
  first need, falls back at resolution time, and stamped on the
  workflow settings on save so existing UI warnings clear.
- Credential list, node validation, and OAuth banner all reflect the
  per-user connection state via a new connectedByMe flag on credential
  responses.
- Friendlier runtime error for manual runs when the user hasn't
  connected yet.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 14:27:54 +02:00
..
__tests__ fix(core): Add workflow structure validation (#29699) 2026-05-06 11:42:12 +00:00
workflow-history feat: Instance AI and local gateway modules (no-changelog) (#27206) 2026-04-01 21:33:38 +03:00
utils.ts fix(editor): Show relevant node in workflow activation errors (#26691) 2026-04-14 11:03:50 +00:00
workflow-creation.service.ts fix(core): Add workflow structure validation (#29699) 2026-05-06 11:42:12 +00:00
workflow-execution.service.ts feat(core): Warn and skip on duplicate scheduled executions (#28649) 2026-04-29 10:16:12 +00:00
workflow-finder.service.ts feat(core): Add endpoint to toggle mcp access for multiple workflows (#29007) 2026-04-28 14:25:39 +00:00
workflow-sharing.service.ts fix(editor): Ensure personal project is used when a user is picked in workflow filter (#25077) 2026-02-05 19:11:14 +00:00
workflow-static-data.service.ts chore(core): Remove mysql and mariadb specfic code (#24908) 2026-01-29 15:57:33 +00:00
workflow-validation.service.ts fix(core): Fix publishing dynamic credential chathub flow (#28827) 2026-04-22 06:58:38 +00:00
workflow.formatter.ts refactor(core): Use IWorkflowBase over WorkflowEntity in most places (#13225) 2025-02-13 10:54:11 +02:00
workflow.request.ts chore(core): Decouple workflow execution from edit permission (#25737) 2026-02-26 15:48:41 +00:00
workflow.service.ee.ts feat: Add AI Gateway support for AI nodes (#27593) 2026-04-07 09:11:24 +00:00
workflow.service.ts feat: Add private credentials PoC (no-changelog) 2026-05-12 14:27:54 +02:00
workflows.controller.ts fix(core): Validate workflow import URL requests (#29178) 2026-04-29 10:52:35 +00:00