diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow.xml index 08d28d7e03a67cb967aca6b87439c5b9f7ebedd6..7d150a0766aa4c9cc64a892a9a50d06c9207e36a 100644 --- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow.xml +++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/assignment_workflow.xml @@ -30,6 +30,16 @@ <none/> </value> </item> + <item> + <key> <string>creation_guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>groups</string> </key> <value> @@ -44,12 +54,14 @@ <key> <string>initial_state</string> </key> <value> <string>draft</string> </value> </item> + <item> + <key> <string>manager_bypass</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>permissions</string> </key> <value> <tuple> - <string>View</string> - <string>Access contents information</string> <string>Modify portal content</string> </tuple> </value> diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml index 7c0ca4a206690457788e8028b9474750e626f2ed..3ba2ba03fc7607a10da2f875522807b60f8cc2a8 100644 --- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml +++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/cancel_action.xml @@ -41,7 +41,7 @@ <item> <key> <string>guard</string> </key> <value> - <none/> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> <item> @@ -67,4 +67,28 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml index aad0a24c2cde263f762ce2658a406190bb8565f9..149ff70f98852b30949bb7017ffe15889681be7e 100644 --- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml +++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/start_action.xml @@ -41,7 +41,7 @@ <item> <key> <string>guard</string> </key> <value> - <none/> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> <item> @@ -67,4 +67,28 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml index 1ed887c32c6675b7912e72a1482d1cbef3e0910c..1e3c74426e6aba82ed4df8557d7d1fe5a0a80e93 100644 --- a/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml +++ b/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/career_workflow/transitions/stop_action.xml @@ -41,7 +41,7 @@ <item> <key> <string>guard</string> </key> <value> - <none/> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> <item> @@ -67,4 +67,28 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>roles</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Assignee</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData>