Skip to content

Commit b9593a7

Browse files
committed
fix: Save as works with encrpytion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 4a3ba09 commit b9593a7

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)