Files: fix
This commit is contained in:
parent
b8486d22de
commit
f23b5efb52
@ -676,7 +676,10 @@ public class FileSecurity : IFileSecurity
|
||||
var parentRoom = await _daoFactory.GetFolderDao<T>().GetParentFoldersAsync(e.ParentId)
|
||||
.Where(f => DocSpaceHelper.IsRoom(f.FolderType) && f.CreateBy == userId).FirstOrDefaultAsync();
|
||||
|
||||
return parentRoom != null;
|
||||
if (parentRoom != null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (e.RootFolderType == FolderType.ThirdpartyBackup && isAdmin)
|
||||
|
Loading…
Reference in New Issue
Block a user