From 3e1355a97e1b2571ebb0c269a84076fa93206a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 3 Oct 2008 12:02:06 +0000 Subject: [PATCH] Owner can cancel an event, but he cannot view cancelled even, so it leads to unauthorized. Add "VA" permissions to owner in cancelled state. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23999 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../event_workflow/states/cancelled.xml | 11 +++++------ bt5/erp5_crm/bt/revision | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/cancelled.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/cancelled.xml index 788e1743c7..153bcc0929 100644 --- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/cancelled.xml +++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/event_workflow/states/cancelled.xml @@ -45,17 +45,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> @@ -67,6 +64,7 @@ <string>Associate</string> <string>Auditor</string> <string>Manager</string> + <string>Owner</string> </tuple> </value> </item> @@ -109,6 +107,7 @@ <string>Associate</string> <string>Auditor</string> <string>Manager</string> + <string>Owner</string> </tuple> </value> </item> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index 0e92c3c0fc..5160788e93 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -306 \ No newline at end of file +307 \ No newline at end of file -- 2.30.9