From c56c541eb83f1403d52015e292bca8d4072b0c75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 18 Nov 2014 11:00:54 +0100
Subject: [PATCH] remove unnecessary workflow chains:
 local_permission_interaction_workflow is a workflow for role definition

---
 .../workflow_chain_type.xml                                   | 4 ++--
 .../bt/template_portal_type_workflow_chain_list               | 2 --
 .../workflow_chain_type.xml                                   | 2 +-
 .../bt/template_portal_type_workflow_chain_list               | 1 -
 .../workflow_chain_type.xml                                   | 2 +-
 .../bt/template_portal_type_workflow_chain_list               | 1 -
 .../workflow_chain_type.xml                                   | 4 ++--
 bt5/erp5_web/bt/template_portal_type_workflow_chain_list      | 2 --
 8 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 4ff6ebf95c..3ff6366f45 100644
--- a/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -5,11 +5,11 @@
  </chain>
  <chain>
   <type>Computer Model</type>
-  <workflow>edit_workflow, local_permission_interaction_workflow, validation_workflow</workflow>
+  <workflow>edit_workflow, validation_workflow</workflow>
  </chain>
  <chain>
   <type>Computer Network</type>
-  <workflow>edit_workflow, local_permission_interaction_workflow, validation_workflow</workflow>
+  <workflow>edit_workflow, validation_workflow</workflow>
  </chain>
  <chain>
   <type>Computer Partition</type>
diff --git a/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list b/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list
index 8440254950..655f5847e4 100644
--- a/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list
@@ -1,8 +1,6 @@
 Computer Model | edit_workflow
-Computer Model | local_permission_interaction_workflow
 Computer Model | validation_workflow
 Computer Network | edit_workflow
-Computer Network | local_permission_interaction_workflow
 Computer Network | validation_workflow
 Computer Partition | edit_workflow
 Computer Partition | validation_workflow
diff --git a/bt5/erp5_registry_ohada/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_registry_ohada/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index add5390d86..6d6dc05357 100644
--- a/bt5/erp5_registry_ohada/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_registry_ohada/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -41,7 +41,7 @@
  </chain>
  <chain>
   <type>Person</type>
-  <workflow>-validation_workflow, edit_workflow, local_permission_interaction_workflow, psj_validation_workflow</workflow>
+  <workflow>-validation_workflow, edit_workflow, psj_validation_workflow</workflow>
  </chain>
  <chain>
   <type>S1</type>
diff --git a/bt5/erp5_registry_ohada/bt/template_portal_type_workflow_chain_list b/bt5/erp5_registry_ohada/bt/template_portal_type_workflow_chain_list
index 6055773909..d8928ea110 100644
--- a/bt5/erp5_registry_ohada/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_registry_ohada/bt/template_portal_type_workflow_chain_list
@@ -28,7 +28,6 @@ P4 | egov_form_validation_workflow
 P4 | ohada_form_validation_interaction_workflow
 Person | -validation_workflow
 Person | edit_workflow
-Person | local_permission_interaction_workflow
 Person | psj_validation_workflow
 S1 | edit_workflow
 S1 | egov_form_validation_workflow
diff --git a/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 822bcfdd91..31481a10f7 100644
--- a/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_rss_reader/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -1,7 +1,7 @@
 <workflow_chain>
  <chain>
   <type>RSS Feed</type>
-  <workflow>edit_workflow, local_permission_interaction_workflow, document_publication_workflow, validation_workflow</workflow>
+  <workflow>edit_workflow, document_publication_workflow, validation_workflow</workflow>
  </chain>
  <chain>
   <type>RSS Item</type>
diff --git a/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list b/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list
index 86aa45b516..f8e3b0856b 100644
--- a/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_rss_reader/bt/template_portal_type_workflow_chain_list
@@ -1,5 +1,4 @@
 RSS Feed | document_publication_workflow
 RSS Feed | edit_workflow
-RSS Feed | local_permission_interaction_workflow
 RSS Feed | validation_workflow
 RSS Item | edit_workflow
\ No newline at end of file
diff --git a/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index d61037a720..76a41662d6 100644
--- a/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -13,10 +13,10 @@
  </chain>
  <chain>
   <type>Web Section</type>
-  <workflow>category_publication_workflow, edit_workflow, local_permission_interaction_workflow</workflow>
+  <workflow>category_publication_workflow, edit_workflow</workflow>
  </chain>
  <chain>
   <type>Web Site</type>
-  <workflow>category_publication_workflow, edit_workflow, local_permission_interaction_workflow</workflow>
+  <workflow>category_publication_workflow, edit_workflow</workflow>
  </chain>
 </workflow_chain>
\ No newline at end of file
diff --git a/bt5/erp5_web/bt/template_portal_type_workflow_chain_list b/bt5/erp5_web/bt/template_portal_type_workflow_chain_list
index 5a67d29b80..232809f9bd 100644
--- a/bt5/erp5_web/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_web/bt/template_portal_type_workflow_chain_list
@@ -7,7 +7,5 @@ Web Page | processing_status_workflow
 Web Page | publication_workflow
 Web Section | category_publication_workflow
 Web Section | edit_workflow
-Web Section | local_permission_interaction_workflow
 Web Site | category_publication_workflow
 Web Site | edit_workflow
-Web Site | local_permission_interaction_workflow
\ No newline at end of file
-- 
2.30.9