From d9ec97f92053208415d08f07d8cf564283c6b333 Mon Sep 17 00:00:00 2001 From: Vincent Desmares <vincentd@nexedi.com> Date: Tue, 3 Jun 2008 14:08:37 +0000 Subject: [PATCH] 2008-06-03 * Change manager security for account_workflow, accounting_period_workflow and accounting_workflow. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21287 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../account_workflow/states/deleted.xml | 13 ++++++------- .../account_workflow/states/validated.xml | 13 ++++++------- .../accounting_period_workflow/states/cancelled.xml | 13 ++++++------- .../accounting_period_workflow/states/delivered.xml | 13 ++++++------- .../accounting_period_workflow/states/started.xml | 13 ++++++------- .../accounting_period_workflow/states/stopped.xml | 13 ++++++------- .../accounting_workflow/states/delivered.xml | 12 +++++++++--- bt5/erp5_accounting/bt/change_log | 3 +++ bt5/erp5_accounting/bt/revision | 2 +- 9 files changed, 49 insertions(+), 46 deletions(-) diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/deleted.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/deleted.xml index 4f6add5227..6964fa266a 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/deleted.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_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> @@ -78,7 +75,9 @@ <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/validated.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/validated.xml index cddca9d2e0..ab39bb8e38 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/validated.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/states/validated.xml @@ -54,17 +54,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> @@ -82,7 +79,9 @@ <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/cancelled.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/cancelled.xml index dbc36b5b7d..f2f195627b 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/cancelled.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/cancelled.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> @@ -80,7 +77,9 @@ <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/delivered.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/delivered.xml index 476dde396b..d7e8f3067f 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/delivered.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/delivered.xml @@ -53,17 +53,14 @@ It is no longer possible to add accounting transactions in this period. A balanc <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> @@ -82,7 +79,9 @@ It is no longer possible to add accounting transactions in this period. A balanc <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/started.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/started.xml index 8dd8f9b8b5..1888a896e9 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/started.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/started.xml @@ -64,17 +64,14 @@ It is therefore possible to post accounting accounting transactions with dates d <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> @@ -92,7 +89,9 @@ It is therefore possible to post accounting accounting transactions with dates d <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/stopped.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/stopped.xml index befb239781..9d72fd7e2f 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/stopped.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/states/stopped.xml @@ -63,17 +63,14 @@ In this state it is not possible to post transactions during this period.</strin <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> @@ -91,7 +88,9 @@ In this state it is not possible to post transactions during this period.</strin <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/states/delivered.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/states/delivered.xml index 3fb58b6b5e..cfc033253e 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/states/delivered.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/states/delivered.xml @@ -77,19 +77,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_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log index 1cd5f5737b..7f4e3ccc3f 100644 --- a/bt5/erp5_accounting/bt/change_log +++ b/bt5/erp5_accounting/bt/change_log @@ -1,3 +1,6 @@ +2008-06-03 +* Change manager security for account_workflow, accounting_period_workflow and accounting_workflow. + 2008-05-16 jerome * Introduce scripts to help report creation. diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 5b3e043c52..3873f56298 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -703 \ No newline at end of file +706 \ No newline at end of file -- 2.30.9