Skip to content

fix: prevent nested vaults and copy/move into received vault shares - #4460

Merged
kulmann merged 2 commits into
mainfrom
fix/no-vault-in-shared-vault
Nov 16, 2026
Merged

kulmann merged 2 commits into
mainfrom
fix/no-vault-in-shared-vault

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Description

Fixes two ways a recipient of a shared vault folder could put unencrypted content into it:

  • "Encrypt this folder" at the root of a received vault share: the share root lost its vault status when the folder view was loaded, so vault guards (create folder, paste, create file, ...) didn't apply there. The share root now keeps its vault status.
  • Copy/move into a received vault share: the location picker only kept users out of their own vault folders, not out of vault shares opened from "Shared with me". The picker's submit button is now disabled inside any vault. "Save as" in the editors is still allowed, because it encrypts what it writes. It opts in through the new internal embed parameter embed-allow-vault=true. The public embed-choose-file-name option no longer lifts the restriction, because external embed hosts write unencrypted.

AI assistance: Claude Code (claude-opus-5-5)

Related Issue

Assisted-by: Claude Code:claude-opus-5-5
Assisted-by: Claude Code:claude-opus-5-5
@JammingBen JammingBen self-assigned this Nov 13, 2026
@kulmann
kulmann merged commit f6c8c3a into main Nov 16, 2026
29 checks passed
@kulmann
kulmann deleted the fix/no-vault-in-shared-vault branch November 16, 2026 06:26
@openclouders openclouders mentioned this pull request Nov 16, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating a vault inside a vault Move/Copy into a shared vault

2 participants