diff --git a/products/ASC.Files/Core/Utils/FileSharing.cs b/products/ASC.Files/Core/Utils/FileSharing.cs index 676be6e8e9..9d6a9763eb 100644 --- a/products/ASC.Files/Core/Utils/FileSharing.cs +++ b/products/ASC.Files/Core/Utils/FileSharing.cs @@ -800,14 +800,13 @@ public async IAsyncEnumerable GetGroupMembersAsync(FileE await foreach (var member in securityDao.GetGroupMembersWithSecurityAsync(entry, groupId, text, offset, count)) { var isOwner = entry.CreateBy == member.UserId; - var isDocSpaceAdmin = await userManager.IsDocSpaceAdminAsync(member.UserId); yield return new GroupMemberSecurity { User = await userManager.GetUsersAsync(member.UserId), GroupShare = member.GroupShare, - UserShare = isOwner || isDocSpaceAdmin ? FileShare.RoomManager : member.UserShare, - CanEditAccess = canEditAccess && !isOwner && userId != member.UserId && !isDocSpaceAdmin, + UserShare = isOwner ? FileShare.RoomManager : member.UserShare, + CanEditAccess = canEditAccess && !isOwner && userId != member.UserId, Owner = isOwner }; }