Files: fixed form saving for mobile app
This commit is contained in:
parent
4a30acc5a6
commit
f5f5b851de
@ -1358,7 +1358,7 @@ public class EntryManager
|
||||
throw new FileNotFoundException(FilesCommonResource.ErrorMassage_FileNotFound);
|
||||
}
|
||||
|
||||
if (checkRight && !editLink && (!await _fileSecurity.CanEditAsync(file) || _userManager.IsUser(_authContext.CurrentAccount.ID)))
|
||||
if (checkRight && !editLink && (!await _fileSecurity.CanFillFormsAsync(file) || _userManager.IsUser(_authContext.CurrentAccount.ID)))
|
||||
{
|
||||
throw new SecurityException(FilesCommonResource.ErrorMassage_SecurityException_EditFile);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user