Skip to content

Commit

Permalink
fix Bug 72141
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Dec 24, 2024
1 parent 8023e77 commit 9eee788
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions products/ASC.Files/Core/Core/Security/FileSecurity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1571,13 +1571,7 @@ await externalShare.ValidateRecordAsync(ace, null, isAuthenticated, e) != Status

break;
default:
if (e.Access == FileShare.RoomManager ||
(e.Access == FileShare.ContentCreator && e.CreateBy == authContext.CurrentAccount.ID))
{
return true;
}

break;
return true;
}

break;
Expand Down

0 comments on commit 9eee788

Please sign in to comment.