Skip to content

fix: prevent destination writes on cross-library moves from protection-enabled libraries - #53

Merged
servicememeai merged 1 commit into
devfrom
fix/protection-move-http
Nov 14, 2026
Merged

servicememeai merged 1 commit into
devfrom
fix/protection-move-http

Conversation

@servicememeai

Copy link
Copy Markdown

Native cross-library moves can publish the destination before deleting the source. Reject these moves for protection-enabled sources and their virtual views before preparing callbacks or scheduling a task. This also covers unprotected files in those source libraries. Explicit copy remains available. Go upload, update and sync return HTTP 423 with FILE_PROTECTED when the final publication guard rejects a protected write. Targeted Go protection and guard tests pass.

@servicememeai
servicememeai merged commit 7711279 into dev Nov 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants