From ea5cbfeffcf0c7091a459e622d24aadd2f90db41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Thu, 5 Jun 2008 12:21:06 +0000
Subject: [PATCH] define security on state

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21348 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../historical_operation_type.xml             |  2 +-
 .../states/deleted.xml                        | 28 +++++++++++++++++++
 bt5/erp5_banking_cash/bt/revision             |  2 +-
 3 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_banking_cash/CategoryTemplateItem/portal_categories/historical_operation_type.xml b/bt5/erp5_banking_cash/CategoryTemplateItem/portal_categories/historical_operation_type.xml
index a38b16ec87..9f224ecc24 100644
--- a/bt5/erp5_banking_cash/CategoryTemplateItem/portal_categories/historical_operation_type.xml
+++ b/bt5/erp5_banking_cash/CategoryTemplateItem/portal_categories/historical_operation_type.xml
@@ -45,7 +45,7 @@
         </item>
         <item>
             <key> <string>last_id</string> </key>
-            <value> <string>1</string> </value>
+            <value> <string>2</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/states/deleted.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/states/deleted.xml
index 413db8d8bf..4c6ec1a95b 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/states/deleted.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_to_currency_sale_workflow/states/deleted.xml
@@ -67,12 +67,40 @@
             <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>
+                      <tuple/>
+                    </value>
+                </item>
                 <item>
                     <key> <string>Delete objects</string> </key>
                     <value>
                       <tuple/>
                     </value>
                 </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
               </dictionary>
             </value>
         </item>
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index 8ec9b982c4..236c7c706d 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-622
\ No newline at end of file
+623
\ No newline at end of file
-- 
2.30.9