Skip to content

Commit 939812b

Browse files
juliusknorrbackportbot[bot]
authored andcommitted
fix: Save as works with encrpytion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 26deda1 commit 939812b

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
@@ -190,7 +190,7 @@ public function checkFileInfo(
190190
'UserExtraInfo' => [],
191191
'UserPrivateInfo' => [],
192192
'UserCanWrite' => $canWriteThroughLock && (bool)$wopi->getCanwrite(),
193-
'UserCanNotWriteRelative' => $isPublic || $this->encryptionManager->isEnabled() || $wopi->getHideDownload() || $wopi->isRemoteToken() || $shouldUseSecureView,
193+
'UserCanNotWriteRelative' => $isPublic || $wopi->getHideDownload() || $wopi->isRemoteToken() || $shouldUseSecureView,
194194
'PostMessageOrigin' => $wopi->getServerHost(),
195195
'LastModifiedTime' => Helper::toISO8601($file->getMTime()),
196196
'SupportsRename' => !$isVersion && !$wopi->isRemoteToken(),

0 commit comments

Comments
 (0)