From 00cb27c502dc6cba1f2f3f4b4fab48501125b0b6 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 24 Sep 2007 09:15:36 +0000
Subject: [PATCH] Do not acquire local roles.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16569 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../PortalTypeTemplateItem/portal_types/Web%20Page.xml   | 9 +++------
 .../portal_types/Web%20Section.xml                       | 9 +++------
 .../PortalTypeTemplateItem/portal_types/Web%20Site.xml   | 9 +++------
 3 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml
index fd8f248acb..ee31620c91 100644
--- a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml
+++ b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -44,7 +41,7 @@
         </item>
         <item>
             <key> <string>acquire_local_roles</string> </key>
-            <value> <int>1</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
diff --git a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Section.xml b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Section.xml
index 701a53540d..69d4646936 100644
--- a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Section.xml
+++ b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Section.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -63,7 +60,7 @@
         </item>
         <item>
             <key> <string>acquire_local_roles</string> </key>
-            <value> <int>1</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
diff --git a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Site.xml b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Site.xml
index b7f6f73a8b..b103f102a0 100644
--- a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Site.xml
+++ b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Site.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -44,7 +41,7 @@
         </item>
         <item>
             <key> <string>acquire_local_roles</string> </key>
-            <value> <int>1</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
-- 
2.30.9