Merge pull request #1728 from ONLYOFFICE/bugfix/folder-restore
Bugfix/folder restore
This commit is contained in:
commit
0510210a7b
@ -307,7 +307,7 @@ class FileMoveCopyOperation<T> : FileOperation<FileMoveCopyOperationData<T>, T>
|
||||
{
|
||||
this[Err] = FilesCommonResource.ErrorMassage_SecurityException_MoveFolder;
|
||||
}
|
||||
else if (checkPermissions && !await FilesSecurity.CanDownloadAsync(folder))
|
||||
else if (checkPermissions && folder.RootFolderType != FolderType.TRASH && !await FilesSecurity.CanDownloadAsync(folder))
|
||||
{
|
||||
this[Err] = FilesCommonResource.ErrorMassage_SecurityException;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user