Skip to content

Commit fe5ef5d

Browse files
authored
Merge pull request #5704 from nextcloud/backport/5691/stable32
[stable32] fix: Save as works with encrpytion
2 parents 059184f + 4babc16 commit fe5ef5d

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
@@ -186,7 +186,7 @@ public function checkFileInfo(string $fileId, string $access_token): JSONRespons
186186
'UserExtraInfo' => [],
187187
'UserPrivateInfo' => [],
188188
'UserCanWrite' => $canWriteThroughLock && (bool)$wopi->getCanwrite(),
189-
'UserCanNotWriteRelative' => $isPublic || $this->encryptionManager->isEnabled() || $wopi->getHideDownload() || $wopi->isRemoteToken() || $shouldUseSecureView,
189+
'UserCanNotWriteRelative' => $isPublic || $wopi->getHideDownload() || $wopi->isRemoteToken() || $shouldUseSecureView,
190190
'PostMessageOrigin' => $wopi->getServerHost(),
191191
'LastModifiedTime' => Helper::toISO8601($file->getMTime()),
192192
'SupportsRename' => !$isVersion && !$wopi->isRemoteToken(),

0 commit comments

Comments
 (0)