From 7321fa8453b4bce64dc036e314312bd0162e8e55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Tue, 19 Dec 2006 21:40:46 +0000
Subject: [PATCH] fixed security settings in draft state (to enable file
 upload)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11768 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_workflow/document_publication_workflow.xml |  1 +
 .../document_publication_workflow/states/draft.xml    | 11 +++++++++++
 bt5/erp5_dms/bt/revision                              |  2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow.xml
index 274c67d142..e502801d44 100644
--- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow.xml
+++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow.xml
@@ -67,6 +67,7 @@
                 <string>Add portal content</string>
                 <string>Modify portal content</string>
                 <string>Change local roles</string>
+                <string>Change Images and Files</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow/states/draft.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow/states/draft.xml
index a69cf2cfe7..cb7497cfd6 100644
--- a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow/states/draft.xml
+++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_publication_workflow/states/draft.xml
@@ -94,12 +94,23 @@
                       </tuple>
                     </value>
                 </item>
+                <item>
+                    <key> <string>Change Images and Files</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignee</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
                 <item>
                     <key> <string>Change local roles</string> </key>
                     <value>
                       <tuple>
+                        <string>Assignee</string>
                         <string>Assignor</string>
                         <string>Manager</string>
+                        <string>Owner</string>
                       </tuple>
                     </value>
                 </item>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 2da5673937..1e59c84a3a 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-418
\ No newline at end of file
+420
\ No newline at end of file
-- 
2.30.9