From d06aebc16ebaba0f657dec1f7b4cfe530cc76ad2 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Thu, 28 Jan 2010 13:12:25 +0000
Subject: [PATCH] revert partially r32032 as we want sometimes update local
 roles right after editing the document.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32060 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../interactions/Document_edit.xml                     | 10 +++++-----
 bt5/erp5_dms/bt/revision                               |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml
index 5dbde39349..82ec632419 100644
--- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml
+++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml
@@ -30,15 +30,15 @@
         <item>
             <key> <string>after_script_name</string> </key>
             <value>
-              <tuple/>
+              <list>
+                <string>updateLocalRoles</string>
+              </list>
             </value>
         </item>
         <item>
             <key> <string>before_commit_script_name</string> </key>
             <value>
-              <list>
-                <string>updateLocalRoles</string>
-              </list>
+              <tuple/>
             </value>
         </item>
         <item>
@@ -65,7 +65,7 @@
         </item>
         <item>
             <key> <string>once_per_transaction</string> </key>
-            <value> <int>1</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>portal_type_filter</string> </key>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 9ce16c5f3d..ddac049311 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-1058
\ No newline at end of file
+1059
\ No newline at end of file
-- 
2.30.9