From d1f2732b8ab31612548d624ea36ae2071357000a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 9 Jun 2020 06:33:35 +0200
Subject: [PATCH] post: make Post portal types members of post group

---
 .../PortalTypeTemplateItem/portal_types/HTML%20Post.xml   | 8 ++++++++
 .../PortalTypeTemplateItem/portal_types/Text%20Post.xml   | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/bt5/erp5_post/PortalTypeTemplateItem/portal_types/HTML%20Post.xml b/bt5/erp5_post/PortalTypeTemplateItem/portal_types/HTML%20Post.xml
index c06a9d58c5..bcae753f93 100644
--- a/bt5/erp5_post/PortalTypeTemplateItem/portal_types/HTML%20Post.xml
+++ b/bt5/erp5_post/PortalTypeTemplateItem/portal_types/HTML%20Post.xml
@@ -22,6 +22,14 @@
             <key> <string>factory</string> </key>
             <value> <string>addXMLObject</string> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>post</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>HTML Post</string> </value>
diff --git a/bt5/erp5_post/PortalTypeTemplateItem/portal_types/Text%20Post.xml b/bt5/erp5_post/PortalTypeTemplateItem/portal_types/Text%20Post.xml
index 2f3f5acd8a..475e99dd37 100644
--- a/bt5/erp5_post/PortalTypeTemplateItem/portal_types/Text%20Post.xml
+++ b/bt5/erp5_post/PortalTypeTemplateItem/portal_types/Text%20Post.xml
@@ -22,6 +22,14 @@
             <key> <string>factory</string> </key>
             <value> <string>addXMLObject</string> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>post</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>Text Post</string> </value>
-- 
2.30.9