Skip to content

Commit

Permalink
FormRoom: fixed security
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayRechkin committed Aug 5, 2024
1 parent 5dfcd46 commit 8031e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion products/ASC.Files/Core/Core/Security/FileSecurity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,8 @@ FilesSecurityActions.Rename or
action == FilesSecurityActions.Lock ||
action == FilesSecurityActions.Move ||
action == FilesSecurityActions.Duplicate ||
action == FilesSecurityActions.EditHistory) && file != null )
action == FilesSecurityActions.EditHistory ||
action == FilesSecurityActions.Embed) && file != null )
{
var parentFolders = await GetFileParentFolders(file.ParentId);
if (parentFolders != null)
Expand Down
1 change: 0 additions & 1 deletion products/ASC.Files/Core/Utils/EntryManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ public class EntryManager(IDaoFactory daoFactory,
FileSharing fileSharing,
IQuotaService quotaService,
TenantManager tenantManager,
ExternalShare externalShare,
FileChecker fileChecker,
IDistributedCache distributedCache,
NotifyClient notifyClient)
Expand Down

0 comments on commit 8031e0b

Please sign in to comment.