Audit shared-library source writes

A shared source goes live in every flow using it the moment it is saved, so
the write is recorded in the audit trail like a publish. Private source saves
stay drafts and are not audited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
2026-10-15 09:50:04 +02:00
co-authored by Claude Opus 5.5
parent be85c6c92a
commit 2dc9295c26
4 changed files with 42 additions and 3 deletions
+2 -1
View File
@@ -1017,7 +1017,8 @@ export class FlowsService {
*
* A shared node writes to the library, so the fix reaches every flow using
* it — and that one is live immediately rather than waiting for a publish,
* because the copy is not any single flow's to hold back.
* because the copy is not any single flow's to hold back. Being live, it is
* audited like a publish.
* @param data The data for the request.
* @param data.name
* @param data.nodeId