Skip to content

Commit 2f36fa7

Browse files
authored
Merge pull request #5702 from nextcloud/backport/5691/stable34
[stable34] fix: Save as works with encrpytion
2 parents 605fdfc + 181f770 commit 2f36fa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Controller/WopiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function checkFileInfo(
191191
'UserExtraInfo' => [],
192192
'UserPrivateInfo' => [],
193193
'UserCanWrite' => $canWriteThroughLock && (bool)$wopi->getCanwrite(),
194-
'UserCanNotWriteRelative' => $isPublic || $this->encryptionManager->isEnabled() || $wopi->getHideDownload() || $wopi->isRemoteToken() || $shouldUseSecureView,
194+
'UserCanNotWriteRelative' => $isPublic || $wopi->getHideDownload() || $wopi->isRemoteToken() || $shouldUseSecureView,
195195
'PostMessageOrigin' => $wopi->getServerHost(),
196196
'LastModifiedTime' => Helper::toISO8601($file->getMTime()),
197197
'SupportsRename' => !$isVersion && !$wopi->isRemoteToken(),

0 commit comments

Comments
 (0)