Files: FileSecurity: fixed access for unauthorized

This commit is contained in:
Maksim Chegulov 2023-04-28 13:31:43 +03:00
parent 79d6c7f670
commit db3c2af475

View File

@ -791,11 +791,10 @@ public class FileSecurity : IFileSecurity
}
}
}
else
else if (isAuthenticated)
{
if (folder.FolderType == FolderType.VirtualRooms)
{
// all can read VirtualRooms folder
return true;
}