mirror of
https://github.com/reconurge/flowsint.git
synced 2026-11-08 14:35:41 -06:00
Flow update, delete, and ID-based read never checked caller identity against the target record, so any authenticated user could tamper with or delete another user's Flow by UUID, and the list endpoint returned every user's flows unfiltered. Added a nullable owner_id column (NULL = pre-existing flows, readable by all but not editable via the API), stamp it on create, and check ownership in FlowService before mutating or returning a single Flow. Fixes GHSA-qvx2-6v5v-wwrg.