From d1666cce880192708e3f527bcf0a2044f8874ff5 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 15 Mar 2010 12:39:41 +0000
Subject: [PATCH] Update workflow state permissions configuration. Owner can
 view and access objects in all states (except deleted)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33724 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../data_protection_request_workflow/states/closed.xml        | 4 ++++
 .../data_protection_request_workflow/states/deleted.xml       | 1 -
 .../data_protection_request_workflow/states/open.xml          | 2 ++
 .../data_protection_request_workflow/states/submitted.xml     | 2 ++
 bt5/erp5_data_protection/bt/revision                          | 2 +-
 5 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml
index 784a997744..09864b4656 100644
--- a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml
+++ b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/closed.xml
@@ -59,8 +59,10 @@
                     <key> <string>Access contents information</string> </key>
                     <value>
                       <tuple>
+                        <string>Assignor</string>
                         <string>Auditor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
@@ -92,8 +94,10 @@
                     <key> <string>View</string> </key>
                     <value>
                       <tuple>
+                        <string>Assignor</string>
                         <string>Auditor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
diff --git a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml
index 824acdfe17..1aeed1c6b4 100644
--- a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml
+++ b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/deleted.xml
@@ -59,7 +59,6 @@
                     <key> <string>Access contents information</string> </key>
                     <value>
                       <tuple>
-                        <string>Auditor</string>
                         <string>Manager</string>
                       </tuple>
                     </value>
diff --git a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml
index f09b1e44d1..328e0ea526 100644
--- a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml
+++ b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/open.xml
@@ -65,6 +65,7 @@
                         <string>Assignor</string>
                         <string>Auditor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
@@ -101,6 +102,7 @@
                         <string>Assignor</string>
                         <string>Auditor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
diff --git a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml
index e60b0b5061..d851d94679 100644
--- a/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml
+++ b/bt5/erp5_data_protection/WorkflowTemplateItem/portal_workflow/data_protection_request_workflow/states/submitted.xml
@@ -67,6 +67,7 @@
                         <string>Assignor</string>
                         <string>Auditor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
@@ -103,6 +104,7 @@
                         <string>Assignor</string>
                         <string>Auditor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
diff --git a/bt5/erp5_data_protection/bt/revision b/bt5/erp5_data_protection/bt/revision
index a5c750feac..368f89ceef 100644
--- a/bt5/erp5_data_protection/bt/revision
+++ b/bt5/erp5_data_protection/bt/revision
@@ -1 +1 @@
-27
\ No newline at end of file
+28
\ No newline at end of file
-- 
2.30.9