From 184bac980b9189359c107302af56d1c95bae55f5 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Mon, 1 Apr 2019 14:33:53 +0000 Subject: [PATCH] erp5_crm: This script requires proxy roles when setSource It the user don't have fully permission on the object (already changed state), this set will fail to check if source should be defined. --- .../scripts/SupportRequest_setSource.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/ticket_interaction_workflow/scripts/SupportRequest_setSource.xml b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/ticket_interaction_workflow/scripts/SupportRequest_setSource.xml index 10144c7b9e2..cca9b685ece 100644 --- a/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/ticket_interaction_workflow/scripts/SupportRequest_setSource.xml +++ b/bt5/erp5_crm/WorkflowTemplateItem/portal_workflow/ticket_interaction_workflow/scripts/SupportRequest_setSource.xml @@ -52,6 +52,14 @@ <key> <string>_params</string> </key> <value> <string>sci</string> </value> </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>SupportRequest_setSource</string> </value> -- 2.30.9