From 5a6c51cbb10b41fbe393364b9829241fcbbb5398 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Mon, 5 Nov 2007 09:11:13 +0000 Subject: [PATCH] Component, Product, Service and Transformation should not acquire local roles. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17383 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../PortalTypeTemplateItem/portal_types/Component.xml | 6 +++++- .../PortalTypeTemplateItem/portal_types/Product.xml | 6 +++++- .../PortalTypeTemplateItem/portal_types/Service.xml | 6 +++++- .../PortalTypeTemplateItem/portal_types/Transformation.xml | 6 +++++- bt5/erp5_pdm/bt/revision | 2 +- bt5/erp5_pdm/bt/template_tool_id_list | 0 6 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 bt5/erp5_pdm/bt/template_tool_id_list diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component.xml index 1aa88bdf82..61f478583d 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component.xml @@ -44,7 +44,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_action_list</string> </key> @@ -110,6 +110,10 @@ <key> <string>init_script</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>property_sheet_list</string> </key> <value> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product.xml index e8e59501b6..fe45da6ca1 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product.xml @@ -44,7 +44,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> @@ -100,6 +100,10 @@ <key> <string>init_script</string> </key> <value> <string>Product_init</string> </value> </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>property_sheet_list</string> </key> <value> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service.xml index 0e6022b283..fbb7f9210a 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service.xml @@ -44,7 +44,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> @@ -101,6 +101,10 @@ a manufactured product, like a pen, a bicycle...</string> </value> <key> <string>init_script</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>property_sheet_list</string> </key> <value> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml index 5af3687e09..410d1dfe45 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml @@ -44,7 +44,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> @@ -100,6 +100,10 @@ <key> <string>init_script</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>property_sheet_list</string> </key> <value> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 801f180102..31ff414b74 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -47 \ No newline at end of file +48 \ No newline at end of file diff --git a/bt5/erp5_pdm/bt/template_tool_id_list b/bt5/erp5_pdm/bt/template_tool_id_list new file mode 100644 index 0000000000..e69de29bb2 -- 2.30.9