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);