From 9f0aca0f2fd5ecfc822873632191ac0de2147f2c Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 9 Jun 2010 11:24:21 +0000
Subject: [PATCH] Give access content informations to all roles.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36152 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_workflow/solver_process_workflow.xml |  1 +
 .../solver_process_workflow/states/draft.xml    | 17 +++++++++++++++++
 .../solver_process_workflow/states/failed.xml   | 17 +++++++++++++++++
 .../solver_process_workflow/states/solved.xml   | 17 +++++++++++++++++
 .../solver_process_workflow/states/solving.xml  |  8 ++++++++
 bt5/erp5_simulation/bt/revision                 |  2 +-
 6 files changed, 61 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow.xml b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow.xml
index e629057836..a1545649b7 100644
--- a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow.xml
+++ b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow.xml
@@ -49,6 +49,7 @@
               <tuple>
                 <string>Modify portal content</string>
                 <string>Add portal content</string>
+                <string>Access contents information</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/draft.xml b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/draft.xml
index 8445e26883..6c573fc251 100644
--- a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/draft.xml
+++ b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/draft.xml
@@ -57,6 +57,23 @@
             <key> <string>data</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignee</string>
+                        <string>Assignor</string>
+                        <string>Associate</string>
+                        <string>Auditor</string>
+                        <string>Authenticated</string>
+                        <string>Author</string>
+                        <string>Manager</string>
+                        <string>Member</string>
+                        <string>Owner</string>
+                        <string>Reviewer</string>
+                      </tuple>
+                    </value>
+                </item>
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
diff --git a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/failed.xml b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/failed.xml
index 4a62fc2686..59a4c31186 100644
--- a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/failed.xml
+++ b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/failed.xml
@@ -57,6 +57,23 @@
             <key> <string>data</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignee</string>
+                        <string>Assignor</string>
+                        <string>Associate</string>
+                        <string>Auditor</string>
+                        <string>Authenticated</string>
+                        <string>Author</string>
+                        <string>Manager</string>
+                        <string>Member</string>
+                        <string>Owner</string>
+                        <string>Reviewer</string>
+                      </tuple>
+                    </value>
+                </item>
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
diff --git a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solved.xml b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solved.xml
index 65e6953933..d8621840ad 100644
--- a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solved.xml
+++ b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solved.xml
@@ -55,6 +55,23 @@
             <key> <string>data</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignee</string>
+                        <string>Assignor</string>
+                        <string>Associate</string>
+                        <string>Auditor</string>
+                        <string>Authenticated</string>
+                        <string>Author</string>
+                        <string>Manager</string>
+                        <string>Member</string>
+                        <string>Owner</string>
+                        <string>Reviewer</string>
+                      </tuple>
+                    </value>
+                </item>
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
diff --git a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solving.xml b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solving.xml
index 77c83dcbb0..82309ad1b8 100644
--- a/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solving.xml
+++ b/bt5/erp5_simulation/WorkflowTemplateItem/portal_workflow/solver_process_workflow/states/solving.xml
@@ -58,6 +58,14 @@
             <key> <string>data</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
                 <item>
                     <key> <string>Add portal content</string> </key>
                     <value>
diff --git a/bt5/erp5_simulation/bt/revision b/bt5/erp5_simulation/bt/revision
index 95c8a676e9..c9c41087e2 100644
--- a/bt5/erp5_simulation/bt/revision
+++ b/bt5/erp5_simulation/bt/revision
@@ -1 +1 @@
-113
\ No newline at end of file
+114
\ No newline at end of file
-- 
2.30.9