Files: fix tag new

This commit is contained in:
Maksim Chegulov 2022-12-08 13:10:37 +03:00
parent ac1c2beb20
commit 6aaa58c237

View File

@ -196,9 +196,15 @@ public class FileSharingAceHelper<T>
|| share == FileShare.Review
|| share == FileShare.FillForms
|| share == FileShare.Comment
|| share == FileShare.None && entry.RootFolderType == FolderType.COMMON;
var removeNew = share == FileShare.None && entry.RootFolderType == FolderType.USER
|| share == FileShare.Restrict;
|| share == FileShare.RoomAdmin
|| share == FileShare.Editing
|| (share == FileShare.None && entry.RootFolderType == FolderType.COMMON);
var removeNew = share == FileShare.Restrict || (share == FileShare.None
&& (entry.RootFolderType == FolderType.USER ||
entry.RootFolderType == FolderType.VirtualRooms ||
entry.RootFolderType == FolderType.Archive));
listUsersId.ForEach(id =>
{
recipients.Remove(id);