From 148c6c06ba8c96d3f2f82358c3d91d3847242c6f Mon Sep 17 00:00:00 2001
From: Vincent Desmares <vincentd@nexedi.com>
Date: Tue, 3 Jun 2008 17:32:33 +0000
Subject: [PATCH] 2008-06-03 * Add all rights for manager in : project_workflow
  :  Deleted, Open task_report_causality_workflow  :  Building, Solving
 task_report_workflow  :  Delivered, Deleted, Cancelled task_workflow  : 
 Confirmed, Deleted, Cancelled 2008-04-12 rafael * added new domains for
 Project_viewPlanning

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21302 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../project_workflow/states/deleted.xml       | 12 ++++++++---
 .../project_workflow/states/validated.xml     | 12 ++++++++---
 .../states/building.xml                       | 17 ++++++++-------
 .../states/solving.xml                        | 17 ++++++++-------
 .../task_report_workflow/states/cancelled.xml | 12 ++++++++---
 .../task_report_workflow/states/deleted.xml   | 21 +++++++++++--------
 .../task_report_workflow/states/delivered.xml | 21 +++++++++++--------
 .../task_workflow/states/cancelled.xml        | 12 ++++++++---
 .../task_workflow/states/confirmed.xml        | 12 ++++++++---
 .../task_workflow/states/deleted.xml          | 21 +++++++++++--------
 bt5/erp5_project/bt/change_log                |  6 ++++++
 bt5/erp5_project/bt/revision                  |  2 +-
 12 files changed, 106 insertions(+), 59 deletions(-)

diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml
index 67e63c5fa5..2fdea9347b 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/deleted.xml
@@ -76,19 +76,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml
index 0413ab1bd2..5228eb2e3b 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/project_workflow/states/validated.xml
@@ -87,19 +87,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/building.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/building.xml
index fd9d6b607d..84339db78a 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/building.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/building.xml
@@ -48,29 +48,30 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
               </dictionary>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/solving.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/solving.xml
index 1dc04270aa..dfdb924283 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/solving.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_causality_workflow/states/solving.xml
@@ -48,29 +48,30 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
               </dictionary>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/cancelled.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/cancelled.xml
index 574c5146cd..fde0ee359e 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/cancelled.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/cancelled.xml
@@ -76,19 +76,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/deleted.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/deleted.xml
index ff8bf0ce45..b09fc49876 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/deleted.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/deleted.xml
@@ -51,17 +51,14 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
@@ -75,19 +72,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/delivered.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/delivered.xml
index e47972e5f6..071a4d2bcf 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/delivered.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_report_workflow/states/delivered.xml
@@ -53,17 +53,14 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
@@ -81,19 +78,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/cancelled.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/cancelled.xml
index ee07634645..744322c206 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/cancelled.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/cancelled.xml
@@ -84,19 +84,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/confirmed.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/confirmed.xml
index c8edf1e1b8..10cc0a2f94 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/confirmed.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/confirmed.xml
@@ -82,19 +82,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/deleted.xml b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/deleted.xml
index 219a804d79..c46f93673b 100644
--- a/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/deleted.xml
+++ b/bt5/erp5_project/WorkflowTemplateItem/portal_workflow/task_workflow/states/deleted.xml
@@ -51,17 +51,14 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Persistence</string>
-          <string>PersistentMapping</string>
-        </tuple>
-        <none/>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
-            <key> <string>_container</string> </key>
+            <key> <string>data</string> </key>
             <value>
               <dictionary>
                 <item>
@@ -75,19 +72,25 @@
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
-                      <tuple/>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_project/bt/change_log b/bt5/erp5_project/bt/change_log
index 905abe28f1..4f512160fc 100644
--- a/bt5/erp5_project/bt/change_log
+++ b/bt5/erp5_project/bt/change_log
@@ -1,3 +1,9 @@
+2008-06-03
+* Add all rights for manager in :
+project_workflow  :  Deleted, Open
+task_report_causality_workflow  :  Building, Solving
+task_report_workflow  :  Delivered, Deleted, Cancelled
+task_workflow  :  Confirmed, Deleted, Cancelled
 2008-04-12 rafael
 * added new domains for Project_viewPlanning
 
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index 430faa64e7..88bc40f5cc 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-511
\ No newline at end of file
+513
\ No newline at end of file
-- 
2.30.9