From bbe68e7df3f7a5a6dd6ea0032ba9e680faa62dd8 Mon Sep 17 00:00:00 2001 From: Nikolay Rechkin Date: Tue, 6 Aug 2024 11:33:21 +0300 Subject: [PATCH] FormRoom: fixed security --- products/ASC.Files/Core/Core/Security/FileSecurity.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/products/ASC.Files/Core/Core/Security/FileSecurity.cs b/products/ASC.Files/Core/Core/Security/FileSecurity.cs index 82e87e0dee..b14c04546b 100644 --- a/products/ASC.Files/Core/Core/Security/FileSecurity.cs +++ b/products/ASC.Files/Core/Core/Security/FileSecurity.cs @@ -1072,6 +1072,7 @@ FilesSecurityActions.Rename or action == FilesSecurityActions.Move || action == FilesSecurityActions.Duplicate || action == FilesSecurityActions.EditHistory || + action == FilesSecurityActions.SubmitToFormGallery || action == FilesSecurityActions.Embed) && file != null ) { var parentFolders = await GetFileParentFolders(file.ParentId);