Skip to content

Commit

Permalink
fix fill in with rights only (fa14b2b)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Jun 26, 2024
1 parent 88ec7a3 commit 89e1308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/editorapicontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function config($fileId, $filePath = null, $shareToken = null, $version =
&& !$isPersistentLock
&& (empty($shareToken) || ($share->getPermissions() & Constants::PERMISSION_UPDATE) === Constants::PERMISSION_UPDATE);
$params["document"]["permissions"]["edit"] = $editable && ($forceEdit || !$canFillForms);
if (($editable || $restrictedEditing) && $canEdit || $canFillForms) {
if (($editable || $restrictedEditing) && ($canEdit || $canFillForms)) {
$ownerId = null;
$owner = $file->getOwner();
if (!empty($owner)) {
Expand Down

0 comments on commit 89e1308

Please sign in to comment.