diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/converge.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/converge.xml index 301df07824ea3245150660b9b3109edd03886707..3f1a9369b64cc708b166b3d459584aafbba82c5f 100644 --- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/converge.xml +++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/converge.xml @@ -10,6 +10,10 @@ <key> <string>actbox_category</string> </key> <value> <string>workflow</string> </value> </item> + <item> + <key> <string>actbox_icon</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>actbox_name</string> </key> <value> <string></string> </value> @@ -62,14 +66,25 @@ <pickle> <dictionary> <item> - <key> <string>permissions</string> </key> + <key> <string>expr</string> </key> <value> - <tuple> - <string>Modify portal content</string> - </tuple> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here)</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/start_building.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/start_building.xml index 4761e8ea2647fcf5ad36c05f16c30f4a8e515aa1..dce8cb8674da10122db4dcb0df0f0af269d67478 100644 --- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/start_building.xml +++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_causality_workflow/transitions/start_building.xml @@ -66,14 +66,25 @@ <pickle> <dictionary> <item> - <key> <string>permissions</string> </key> + <key> <string>expr</string> </key> <value> - <tuple> - <string>Modify portal content</string> - </tuple> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here)</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData>