Files
ziti/controller/command
Paul Lorenz ae367195a4 Decide delete existence in Apply and add DeleteIfExists. Fixes #4571
- checks the deleting manager's own store for the target inside the delete transaction, before DeleteById, so a child store delete never reaches the parent's record of another type
- moves the edge service manager's fabric-only check from a pre-dispatch read into an ApplyDelete override
- makes IsEntityPresent on an extended child store match FindById, so a router created through the fabric is deletable through the transit router manager, which excludes edge routers explicitly
- adds a flags field to the delete command and DeleteIfExists on the base manager, under which an absent target is a no-op
- routes identity deletes through the base ApplyDelete after the admin precondition, so identities get the presence check and DeleteIfExists
- gives the API session, session and API session certificate managers a direct DeleteIfExists, since they register no delete decoder
- tests cross-type router deletes, the fabric-only check at apply time, base router deletes, and DeleteIfExists on present, absent, fabric-only, wrong-type, identity and local-only targets, at the model level and through the management API
2026-11-03 00:50:37 -05:00
..
2026-01-28 15:01:35 -05:00