Skip to content

fix: prevent editing end-to-end encrypted files - #4476

Merged
marinofaggiana merged 2 commits into
masterfrom
e2ee.menu
Nov 18, 2026
Merged

marinofaggiana merged 2 commits into
masterfrom
e2ee.menu

Conversation

@marinofaggiana

Copy link
Copy Markdown
Member

Centralize encryption checks and guard editor actions, Quick Look modifications, cropping, and saving for encrypted files.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Centralize encryption checks and guard editor actions, Quick Look modifications, cropping, and saving for encrypted files.

Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
Share server deletion logic between main and viewer menus, checking permissions and connectivity and notifying delegates after encrypted deletions.

Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
@marinofaggiana
marinofaggiana merged commit 76dfbf6 into master Nov 18, 2026
6 checks passed
@marinofaggiana
marinofaggiana deleted the e2ee.menu branch November 18, 2026 08:09
mvanhorn added a commit to mvanhorn/nextcloud-ios that referenced this pull request Nov 18, 2026
…ewer-edit-action

Resolve conflicts with the end-to-end encryption edit guard (nextcloud#4476):
keep the isModifiableWithQuickLook check before the Quick Look transfer
selector opens the shared presentEditor path, keep the per-editor change
flag together with the isEditingEnabled guard on saved copies, and keep
the online-or-local condition for the viewer's Edit action.

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
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.

1 participant