Skip to content

Commit 4babc16

Browse files
juliusknorrbackportbot[bot]
authored andcommitted
fix: Save as works with encrpytion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 059184f commit 4babc16

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)