mirror of
https://github.com/openziti/ziti.git
synced 2026-11-25 00:41:54 +00:00
ae367195a4
- 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