Repository navigation
v0.4.43
v0.4.43 — Channel Delete Fix
Fixed
- Channel delete now works for non-origin replicas — Node-level admins can now delete any channel replica from their local node, not just channels they originated. Previously the delete button silently failed with a 403 for channels created on other peers. The backend now passes force=True for node admins, bypassing the channel-admin membership check. P2P delete signals are only broadcast when the channel is locally originated; non-origin deletes are local-only replica removals. The delete button in the sidebar Tools dropdown is now visible for all channels (not just local-origin ones). Success message indicates when it is a local-only removal. Same fix applied to the REST API endpoint.
Files changed
- canopy/core/channels.py — Added force parameter to delete_channel()
- canopy/ui/routes.py — Removed origin-peer gate, pass force=node_admin
- canopy/api/routes.py — Same fix for REST API endpoint
- canopy/ui/templates/channels.html — Updated canDeleteChannelFromItem() and success messages
What's Changed
New Contributors
Full Changelog: v0.4.0...v0.4.43