Skip to content

Commit

Permalink
Merge pull request 'bugfix/71755' (#93) from bugfix/71755 into releas…
Browse files Browse the repository at this point in the history
…e/v3.0.0
  • Loading branch information
andreysavihin committed Nov 20, 2024
2 parents ee612b1 + 2edc73c commit f383dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion products/ASC.Files/Server/Api/EditorController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public async Task<ConfigurationDto<T>> OpenEditAsync(OpenEditRequestDto<T> inDto
}
}

if (fileType == FileType.Pdf && file.IsForm && !securityContext.CurrentAccount.ID.Equals(ASC.Core.Configuration.Constants.Guest.ID))
if (fileType == FileType.Pdf && file.IsForm && result.Document.Permissions.Copy && !securityContext.CurrentAccount.ID.Equals(ASC.Core.Configuration.Constants.Guest.ID))
{
result.StartFilling = canStartFilling;
}
Expand Down

0 comments on commit f383dee

Please sign in to comment.