diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml index 5ee67a23369bb6d6d7ccae742a80b6a231d01a11..08835643e6331b3a3294aee32e57258ae877dc93 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml @@ -227,12 +227,6 @@ <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> </value> </item> - <item> - <key> <string>ung_document_publication_workflow</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> - </value> - </item> </dictionary> </value> </item> @@ -408,57 +402,4 @@ </tuple> </pickle> </record> - <record id="6" aka="AAAAAAAAAAY="> - <pickle> - <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> - </pickle> - <pickle> - <tuple> - <none/> - <list> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> <string>publish_alive</string> </value> - </item> - <item> - <key> <string>actor</string> </key> - <value> <string>zope</string> </value> - </item> - <item> - <key> <string>comment</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>error_message</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>time</string> </key> - <value> - <object> - <klass> - <global name="DateTime" module="DateTime.DateTime"/> - </klass> - <tuple> - <none/> - </tuple> - <state> - <tuple> - <float>1444169516.29</float> - <string>UTC</string> - </tuple> - </state> - </object> - </value> - </item> - <item> - <key> <string>validation_state</string> </key> - <value> <string>published_alive</string> </value> - </item> - </dictionary> - </list> - </tuple> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml index 64039c6f15551d6b1b58c02c47c3d820dae2c1ba..07749259c45562cbc794827ccb99b3974c6ee04b 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml @@ -185,12 +185,6 @@ <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> </value> </item> - <item> - <key> <string>ung_document_publication_workflow</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> - </value> - </item> </dictionary> </value> </item> @@ -366,57 +360,4 @@ </tuple> </pickle> </record> - <record id="6" aka="AAAAAAAAAAY="> - <pickle> - <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> - </pickle> - <pickle> - <tuple> - <none/> - <list> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> <string>publish_alive</string> </value> - </item> - <item> - <key> <string>actor</string> </key> - <value> <string>bk</string> </value> - </item> - <item> - <key> <string>comment</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>error_message</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>time</string> </key> - <value> - <object> - <klass> - <global name="DateTime" module="DateTime.DateTime"/> - </klass> - <tuple> - <none/> - </tuple> - <state> - <tuple> - <float>1444748117.26</float> - <string>UTC</string> - </tuple> - </state> - </object> - </value> - </item> - <item> - <key> <string>validation_state</string> </key> - <value> <string>published_alive</string> </value> - </item> - </dictionary> - </list> - </tuple> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml index 0f4467ee509867254e7f583c46bfae068c6911e0..65560747e22d1077ffb40ff616861c078470c2f2 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml @@ -185,12 +185,6 @@ <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> </value> </item> - <item> - <key> <string>ung_document_publication_workflow</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> - </value> - </item> </dictionary> </value> </item> @@ -366,57 +360,4 @@ </tuple> </pickle> </record> - <record id="6" aka="AAAAAAAAAAY="> - <pickle> - <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> - </pickle> - <pickle> - <tuple> - <none/> - <list> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> <string>publish_alive</string> </value> - </item> - <item> - <key> <string>actor</string> </key> - <value> <string>bk</string> </value> - </item> - <item> - <key> <string>comment</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>error_message</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>time</string> </key> - <value> - <object> - <klass> - <global name="DateTime" module="DateTime.DateTime"/> - </klass> - <tuple> - <none/> - </tuple> - <state> - <tuple> - <float>1444144383.99</float> - <string>UTC</string> - </tuple> - </state> - </object> - </value> - </item> - <item> - <key> <string>validation_state</string> </key> - <value> <string>published_alive</string> </value> - </item> - </dictionary> - </list> - </tuple> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml index 0a95f6a72beac0d5ca498327f524a309d9556158..5ab0cf8671b3c92fa5f10857d722542013ff5158 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml @@ -204,12 +204,6 @@ <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> </value> </item> - <item> - <key> <string>ung_document_publication_workflow</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> - </value> - </item> </dictionary> </value> </item> @@ -385,57 +379,4 @@ </tuple> </pickle> </record> - <record id="6" aka="AAAAAAAAAAY="> - <pickle> - <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> - </pickle> - <pickle> - <tuple> - <none/> - <list> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> <string>publish_alive</string> </value> - </item> - <item> - <key> <string>actor</string> </key> - <value> <string>bk</string> </value> - </item> - <item> - <key> <string>comment</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>error_message</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>time</string> </key> - <value> - <object> - <klass> - <global name="DateTime" module="DateTime.DateTime"/> - </klass> - <tuple> - <none/> - </tuple> - <state> - <tuple> - <float>1444129870.64</float> - <string>UTC</string> - </tuple> - </state> - </object> - </value> - </item> - <item> - <key> <string>validation_state</string> </key> - <value> <string>published_alive</string> </value> - </item> - </dictionary> - </list> - </tuple> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_web_ung_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_web_ung_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index 9cc82f7de64aa8ffbf55f7c77893c81686b41896..2ffe81ed8f22a943359641a0ce3b1674857d71fc 100644 --- a/bt5/erp5_web_ung_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_web_ung_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -1,10 +1,10 @@ <workflow_chain> <chain> <type>Web Illustration</type> - <workflow>document_conversion_interaction_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow, ung_document_publication_workflow</workflow> + <workflow>document_conversion_interaction_workflow, document_publication_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow</workflow> </chain> <chain> <type>Web Table</type> - <workflow>document_conversion_interaction_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow, ung_document_publication_workflow</workflow> + <workflow>document_conversion_interaction_workflow, document_publication_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow</workflow> </chain> </workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow.xml deleted file mode 100644 index 7d90fb3c15fdbaa39feeae130dabea0e9fbe1d2e..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="DCWorkflowDefinition" module="Products.DCWorkflow.DCWorkflow"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>creation_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>A generic publication workflow which combines versioning, staging and translation management.</string> </value> - </item> - <item> - <key> <string>groups</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>ung_document_publication_workflow</string> </value> - </item> - <item> - <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>Access contents information</string> - <string>View</string> - <string>Add portal content</string> - <string>Modify portal content</string> - <string>Change local roles</string> - </tuple> - </value> - </item> - <item> - <key> <string>state_var</string> </key> - <value> <string>validation_state</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Document Publication Workflow</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts.xml deleted file mode 100644 index 072c8f6540c07806bee17a34c920ec09b2de1bd5..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="Scripts" module="Products.DCWorkflow.Scripts"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>scripts</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts/archiveVersion.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts/archiveVersion.xml deleted file mode 100644 index 2ace70cbaa078a877a6fa3d9d7f526fca011d84c..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts/archiveVersion.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>"""\n -This script is invoked each time a new document is published.\n -The previous version is archived automatically.\n -\n -This will only apply to documents with enough coordinates\n -(ex. reference, language, version).\n -"""\n -document = state_change[\'object\']\n -reference = document.getReference()\n -if not reference:\n - # If this object has no reference, we can not do anything\n - return\n -\n -portal = document.getPortalObject()\n -portal_catalog = portal.portal_catalog\n -language = document.getLanguage()\n -if not language:\n - # If language is None, we have to check is this document\n - # is language independent. In this case, archival is possible\n - # But if a document exists with same reference and defined\n - # language, we can not do anything\n - for old_document in portal_catalog(reference=reference, validation_state=validation_state):\n - old_document = old_document.getObject()\n - if not old_document.getLanguage():\n - old_document.archive()\n - return\n -\n -# We can now archive all documents with same reference and language in published state\n -for old_document in portal_catalog(reference=reference, language=language, validation_state=validation_state):\n - old_document = old_document.getObject()\n - old_document.archive()\n -</string> </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change, validation_state=[\'published\', \'published_alive\', \'released\', \'released_alive\', \'shared\', \'shared_alive\']</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts/checkValidity.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts/checkValidity.xml deleted file mode 100644 index 89c92ead48a2269c72daae637a0a2d6a56bedd41..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/scripts/checkValidity.xml +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>state_change[\'object\'].Base_checkConsistency()\n -</string> </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>state_change</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>checkValidity</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states.xml deleted file mode 100644 index 27ec9069024e0f59bf4b612113789f37da98879b..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="States" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>states</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/archived.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/archived.xml deleted file mode 100644 index 7e4269183669a7180d65534a11a9f74b57c90dec..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/archived.xml +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A previous version of a document, that has been archived by a user. </string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>archived</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Archived</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>delete</string> - <string>delete_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/assigned.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/assigned.xml deleted file mode 100644 index 65502dc34ec7f53bf395b6112d020e5b4b0a5d2d..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/assigned.xml +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document which has been assigned to a user, in order to be processed.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>assigned</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Assigned</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>delete</string> - <string>delete_action</string> - <string>split</string> - <string>split_action</string> - <string>translate</string> - <string>translate_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/cancelled.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/cancelled.xml deleted file mode 100644 index c743f5a96bf023f503a0bbd739e2e50f6592c950..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/cancelled.xml +++ /dev/null @@ -1,113 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>Cancelled documents are no longer visible</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>cancelled</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Cancelled</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>delete</string> - <string>delete_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/deleted.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/deleted.xml deleted file mode 100644 index b9a86dd2790f893646b4334e2bc63a8e51b86386..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/deleted.xml +++ /dev/null @@ -1,100 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>Deleted document are no longer visible</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>deleted</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Deleted</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Authenticated</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Authenticated</string> - <string>Manager</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/draft.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/draft.xml deleted file mode 100644 index 09ad6f84b6d14ac2c4b1f141bd0ea2d059fb109d..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/draft.xml +++ /dev/null @@ -1,163 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document in draft state, which is still being worked by its author or its contributors (in a collaborative process)</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>draft</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Draft</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>cancel</string> - <string>cancel_action</string> - <string>delete</string> - <string>delete_action</string> - <string>embed</string> - <string>publish</string> - <string>publish_action</string> - <string>publish_alive</string> - <string>publish_alive_action</string> - <string>release</string> - <string>release_action</string> - <string>release_alive</string> - <string>release_alive_action</string> - <string>request</string> - <string>request_action</string> - <string>share</string> - <string>share_action</string> - <string>share_alive</string> - <string>share_alive_action</string> - <string>submit</string> - <string>submit_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>var_values</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/hidden.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/hidden.xml deleted file mode 100644 index d8c9c7ea477f8fc75eaae6d609938631e366d1ff..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/hidden.xml +++ /dev/null @@ -1,129 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>Hidden documents are documents which were published or released by mistake. This state models exception handling in the publication process.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>hidden</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Hidden</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>delete</string> - <string>delete_action</string> - <string>publish</string> - <string>publish_action</string> - <string>publish_alive</string> - <string>publish_alive_action</string> - <string>release</string> - <string>release_action</string> - <string>release_alive</string> - <string>release_alive_action</string> - <string>share</string> - <string>share_action</string> - <string>share_alive</string> - <string>share_alive_action</string> - <string>submit</string> - <string>submit_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/published.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/published.xml deleted file mode 100644 index f28b6b123ac796523cecd14890e10a91a5dc38de..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/published.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A published document. Everyone can access it.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>published</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Published</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>archive</string> - <string>archive_action</string> - <string>delete</string> - <string>delete_action</string> - <string>hide</string> - <string>hide_action</string> - <string>reject</string> - <string>reject_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Anonymous</string> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Anonymous</string> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/published_alive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/published_alive.xml deleted file mode 100644 index cbb120c057ab9c924d119ba7cd302e9096ef14b2..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/published_alive.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A published document which is alive. Everyone can access it, including anonymous users. Every assigned knowledge contributor or knowledge manager may modify it depending on its classification policy.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>published_alive</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Published Alive</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>archive</string> - <string>archive_action</string> - <string>delete</string> - <string>delete_action</string> - <string>hide</string> - <string>hide_action</string> - <string>reject</string> - <string>reject_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Anonymous</string> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Anonymous</string> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/released.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/released.xml deleted file mode 100644 index 2a3adb421bdaf56b0dabd2430c50c2872ec1cf03..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/released.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document which is released and becomes accessible to its associates (team, project, members, partners, etc.) based on the security definition</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>released</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Released</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>archive</string> - <string>archive_action</string> - <string>delete</string> - <string>delete_action</string> - <string>hide</string> - <string>hide_action</string> - <string>publish</string> - <string>publish_action</string> - <string>reject</string> - <string>reject_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/released_alive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/released_alive.xml deleted file mode 100644 index 9dc410521eae7ea35fd8e5018dec6cca2d1c08e6..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/released_alive.xml +++ /dev/null @@ -1,129 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document which is released and and alive. It is accessible to its associates (team, project, members, partners, etc.) based on the security definition. It is modifiable by it assignees (ex. team, project, etc. for colloaborative documents) and by its assignor (ex. knowledge manager).</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>released_alive</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Released Alive</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>archive</string> - <string>archive_action</string> - <string>delete</string> - <string>delete_action</string> - <string>hide</string> - <string>hide_action</string> - <string>publish</string> - <string>publish_action</string> - <string>publish_alive</string> - <string>publish_alive_action</string> - <string>reject</string> - <string>reject_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Auditor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/requested.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/requested.xml deleted file mode 100644 index 19d93af0c6f835de34a55b5d773240fe854ca960..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/requested.xml +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document for which translation has been requested and which has not yet been assigned a translator or an revisor.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>requested</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Translation Requested</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>assign</string> - <string>assign_action</string> - <string>cancel</string> - <string>cancel_action</string> - <string>delete</string> - <string>delete_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/shared.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/shared.xml deleted file mode 100644 index 3e6e550f20bf318d41de7bad166f3374b993e31e..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/shared.xml +++ /dev/null @@ -1,122 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document shared by limited people in the organisation (ex. team, project, etc.)</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>shared</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Shared</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>archive</string> - <string>archive_action</string> - <string>delete</string> - <string>delete_action</string> - <string>hide</string> - <string>hide_action</string> - <string>publish</string> - <string>publish_action</string> - <string>release</string> - <string>release_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/shared_alive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/shared_alive.xml deleted file mode 100644 index c32b8f442e00e328aff2ee97c3d4e6f9d4c1e948..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/shared_alive.xml +++ /dev/null @@ -1,131 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document shared by limited people in the organisation (ex. team, project, etc.). Every assigned knowledge contributor or knowledge manager may modify it depending on its classification policy.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>shared_alive</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Shared Alive</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>archive</string> - <string>archive_action</string> - <string>delete</string> - <string>delete_action</string> - <string>hide</string> - <string>hide_action</string> - <string>publish</string> - <string>publish_action</string> - <string>publish_alive</string> - <string>publish_alive_action</string> - <string>reject</string> - <string>reject_action</string> - <string>release</string> - <string>release_action</string> - <string>release_alive</string> - <string>release_alive_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Associate</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/split.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/split.xml deleted file mode 100644 index ac20321c8e0e0b330aaef5f17019fdeba5f670f3..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/split.xml +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>Splits a document in multiple subdocuments to accelerate translation. Sets validation_state to split.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>split</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Split Document</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>delete</string> - <string>delete_action</string> - <string>translate</string> - <string>translate_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/submitted.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/submitted.xml deleted file mode 100644 index c607468ee25643837f9cf89b0c073ad145ff4670..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/submitted.xml +++ /dev/null @@ -1,129 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A document which has been submitted for review by the relevant reviewer.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>submitted</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Submitted</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>cancel</string> - <string>cancel_action</string> - <string>delete</string> - <string>delete_action</string> - <string>publish</string> - <string>publish_action</string> - <string>publish_alive</string> - <string>publish_alive_action</string> - <string>reject</string> - <string>reject_action</string> - <string>release</string> - <string>release_action</string> - <string>release_alive</string> - <string>release_alive_action</string> - <string>share</string> - <string>share_action</string> - <string>share_alive</string> - <string>share_alive_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/translated.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/translated.xml deleted file mode 100644 index b89c98140d8eb4060cf257d79b5736556c2d3cbb..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/states/translated.xml +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="StateDefinition" module="Products.DCWorkflow.States"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>description</string> </key> - <value> <string>A translated document which needs approval from revisor before submission or acceptance.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>translated</string> </value> - </item> - <item> - <key> <string>permission_roles</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Translated</string> </value> - </item> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>accept</string> - <string>accept_action</string> - <string>assign</string> - <string>assign_action</string> - <string>delete</string> - <string>delete_action</string> - <string>submit</string> - <string>submit_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>type_list</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - <item> - <key> <string>Add portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Change local roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - <item> - <key> <string>View</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions.xml deleted file mode 100644 index aa36144efed916b804f5f80df9452b1e3166bdec..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="Transitions" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>transitions</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/accept.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/accept.xml deleted file mode 100644 index 5f55dc78131acf99771426035c58e08d671d602d..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/accept.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Accept a translation and set the validation state to submitted, waiting for further approval before publication.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>accept</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>submitted</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Accept Translation</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/accept_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/accept_action.xml deleted file mode 100644 index d1c5ffcea5db1a30d8f7a509301a359856410e01..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/accept_action.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Accept Translation</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=accept_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>accept</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Accept the translation which was provided by the assigned translator and submit the translation for further approval before publication.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>accept_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Accept Translation Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/archive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/archive.xml deleted file mode 100644 index b84680e0a2f78d3c770f61f0aee4af3443f1b170..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/archive.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Archive a document which has been replaced by a more recent version by setting the validation state to archived.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>archive</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>archived</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Archive Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/archive_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/archive_action.xml deleted file mode 100644 index de8386ce68fa826aab5e0d775b0b36ba732276b8..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/archive_action.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Archive Document</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=archive_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archive</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Archive action can be used to force the archivaval of a document which was previously published, released or shared.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>archive_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Archive Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/assign.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/assign.xml deleted file mode 100644 index 3051831cbbd6b46917ea1683294743ba114180ec..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/assign.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Assign this document to a translator and set the validation state to assigned.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>assign</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>assigned</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Assign Translation</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/assign_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/assign_action.xml deleted file mode 100644 index b73f3254690a299489463cf2d37261dbce96e45e..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/assign_action.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Assign Translation</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=assign_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>assign</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Assign action is called once a translator has been assigned for the document using local roles (Assignee).</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>assign_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Assign Translation Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/cancel.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/cancel.xml deleted file mode 100644 index 7b0581d137429069da9068fb2290e41921e80d54..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/cancel.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Cancel a document in ERP5</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>cancel</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>cancelled</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Cancel Document Publication</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/cancel_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/cancel_action.xml deleted file mode 100644 index d2dbfe96ebb5873d1ecf23e9cf6553f5d9027a29..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/cancel_action.xml +++ /dev/null @@ -1,80 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Cancel Document Publication</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=cancel_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>cancel</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Cancel action makes a document invisible in default lists but still searchable with search tools.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>cancel_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Cancel Document Publication Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Owner</string> - <string>Assignee</string> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/delete.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/delete.xml deleted file mode 100644 index 3b0e2241c2570a1e0403bcf8ee66dbdc23028c87..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/delete.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Delete a document in ERP5</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>delete</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>deleted</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Delete Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/delete_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/delete_action.xml deleted file mode 100644 index de1ef7ee0a4a8c015fe1dd16e8a7a1d528edd7a0..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/delete_action.xml +++ /dev/null @@ -1,80 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=delete_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>delete</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Delete action removes a document from the system by preventing anyone from accessing it anymore.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>delete_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Delete Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Owner</string> - <string>Assignor</string> - <string>Manager</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/extract.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/extract.xml deleted file mode 100644 index 2b501936174cbcfad58d637f4d336deff205cfcb..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/extract.xml +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>This automatic transition is called to redraft an initially embedded object which is moved to a module, for example after a Copy / Paste or Clone action.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>extract</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>draft</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Extract</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:here.portal_membership.checkPermission(\'View\', here) and here.getParentValue().getId() != \'portal_contributions\' and here.getDefaultModuleId(here.getPortalType()) == here.getParentValue().getId()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/hide.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/hide.xml deleted file mode 100644 index 7b4a85622b1fbeef3059909c1b593bba1c029816..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/hide.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Hides a document which was published or released by mistake by setting the validation_state to hidden.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>hide</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>hidden</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Hide Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/hide_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/hide_action.xml deleted file mode 100644 index 6045fd6be3a57dc110ce9a505b79d1044d417b46..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/hide_action.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Hide Document</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=hide_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>hide</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Hide action hides a document which was previously published, released or shared and gives an opportunity to assigned knowledge contributor or manager to update it before publishing it again.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>hide_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Hide Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish.xml deleted file mode 100644 index 4dbb81708b3217c6c90181510e07c4d92f0bf6ef..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Publishes a document and triggers the archival of any public document of a previous version</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>publish</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>published</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Publish Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_action.xml deleted file mode 100644 index 852d5652aaa96a6a9a2f7c5708d02439c27d4c9c..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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>Publish Document</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=publish_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>publish</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The publish action make a document accessible to everyone including anonymous users and archives previously published document in the same language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>publish_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Publish Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_alive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_alive.xml deleted file mode 100644 index 13e36df5b98e08a60084501c1b19a230b4f394e6..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_alive.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The publish_alive workflow method sets the validation state of the document to published_alive and archives any other published version (alive or not) of the same document in the same language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>publish_alive</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>published_alive</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Publish Document Alive</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_alive_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_alive_action.xml deleted file mode 100644 index fc4ce1b56b147b4d6862ddeaca6d7b64c5e18b08..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/publish_alive_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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>Publish Document Alive</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=publish_alive_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>publish_alive</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The publish_alive workflow method sets the validation state of the document to published_alive and archives any other published version (alive or not) of the same document in the same language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>publish_alive_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Publish Document Alive Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/reject.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/reject.xml deleted file mode 100644 index 50fb6a997b97514a71c2b55abdc7183df008a96d..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/reject.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Rejects a document which was submitted by setting its validation state to draft.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>reject</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>draft</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Reject Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/reject_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/reject_action.xml deleted file mode 100644 index db01792b9c8929b1ad1c4738ebd1abb3a208c5b9..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/reject_action.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Reject Document</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=reject_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>reject</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Reject action is invoke to send a document back in draft state and give a chance to its author to improve it before submitting it again.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>reject_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Reject Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release.xml deleted file mode 100644 index c32be40ba01a4ad37bb9ef5c810bcbe3246541c2..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Releases a document and triggers the archival of any released document of a previous version</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>release</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>released</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Release Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_action.xml deleted file mode 100644 index bbbd42654223be5a706c5285a95d8fb99fdc02c9..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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>Release Document</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=release_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>release</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Release action grants access to a document to all Auditor (ex. employees of a company) based on classification policy security definition.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>release_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Release Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_alive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_alive.xml deleted file mode 100644 index 3103a89ea2551eb0800d39ddd287f116e51706fa..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_alive.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The release_alive workflow method sets the document state to released_alive and archives all previously released documents with same reference in the same language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>release_alive</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>released_alive</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Release Document Alive</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_alive_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_alive_action.xml deleted file mode 100644 index d1d62df0909b398a6b5d2bc7328061f6bf809aa8..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/release_alive_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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>Release Document Alive</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=release_alive_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>release_alive</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Release Alive action grants read access to a document to all Auditor roles (ex. empoyees of a company) and grants modification right to all assigned knowledge contributors defined by document classification policy.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>release_alive_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Release Document Alive Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/request.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/request.xml deleted file mode 100644 index f2a0292fd63fcdcdc5bdd38fac160da2f3f54030..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/request.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The request workflow method sets the document validation state to requested.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>request</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>requested</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Request Translation</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/request_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/request_action.xml deleted file mode 100644 index 9a19ccc9d6fa5b3c235c3642a2555ce0b45faddd..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/request_action.xml +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Request Translation</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=request_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>request</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Request Translation action is invoked to notify that a draft document needs to be translated. Usually, the draft document is a clone of the document in the original language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>request_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Request Translation Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:not here.Document_policyApplies(\'*/restricted\')</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share.xml deleted file mode 100644 index b170ea9617cd0ead1ee9e4f6ff07a0bfe30bbdc4..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Share workflow method sets the document validation state to shared and archive any previous shared document with same reference and same language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>share</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>shared</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Share Document</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_action.xml deleted file mode 100644 index 8f4a47a1d81945b281ef237c668bffe179127de0..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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>Share Document</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=share_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>share</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Share action grants read access to all Associate (ex. team members, project members) on the document.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>share_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Share Document Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_alive.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_alive.xml deleted file mode 100644 index 43244198644fe18e1c809b58d998297c1ead8b56..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_alive.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>archiveVersion</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Share Alive workflow method sets the document validation state to shared_alive and archives any previously shared document with same version and same language.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>share_alive</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>shared_alive</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Share Document Alive</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_alive_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_alive_action.xml deleted file mode 100644 index 92efaf00eea06f685174a18fd93b1d620de28155..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/share_alive_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <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>Share Document Alive</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=share_alive_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>share_alive</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The Share Alive action grants read access on the document to all Associate roles (ex. team members, project members) as well as write access to all knowledge contributors defined by the classification policy.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>share_alive_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Share Document Alive Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/split.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/split.xml deleted file mode 100644 index 66833e92710aee04e21844eb0b0a7e3bdcd457a4..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/split.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Splits a document in multiple subdocuments to accelerate translation. Sets validation_state to split.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>split</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>split</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Split Translation</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/split_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/split_action.xml deleted file mode 100644 index f23bfb990a9580c4320e3f917070cfeaa6a87528..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/split_action.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Split Translation</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=split_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Splits a document in multiple subdocuments to accelerate translation. Sets validation_state to split.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>split_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>split</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Split Translation Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/submit.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/submit.xml deleted file mode 100644 index 77f1fc493af553045855cf5f21eb611307a93adf..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/submit.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Submits a document for review by setting validation_state to submitted.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>submit</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>submitted</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Submit Document for Review</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/submit_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/submit_action.xml deleted file mode 100644 index 38b25bc58822f67ef36287c72854f89a2163782f..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/submit_action.xml +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Submit Document for Review</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=submit_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>submit</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Submits a document for review by setting validation_state to submitted.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>submit_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string>checkValidity</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Submit Document for Review Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:not here.Document_policyApplies(\'*/restricted\')</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/translate.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/translate.xml deleted file mode 100644 index 1b1cc863752183316edef5a424d55f989d42bc30..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/translate.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The translate workflow method sets the validation_state to translated.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>translate</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>translated</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Finish Translation</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/translate_action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/translate_action.xml deleted file mode 100644 index a37eae47adb53f135227a057a3f6f4f82f5d0a87..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/transitions/translate_action.xml +++ /dev/null @@ -1,79 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>workflow</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Finish Translation</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=translate_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>translate</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Notify that the document was translated or collated. Translated document must be revised before submission for publication.</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>translate_action</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Finish Translation Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables.xml deleted file mode 100644 index bb12bef805f190ec50e023368d6ee5c6c990b816..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="Variables" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>variables</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/action.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/action.xml deleted file mode 100644 index 03e9664295a176c795a09e1e28a1ff3e232dfe89..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/action.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The last transition</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>action</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>transition/getId|nothing</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/actor.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/actor.xml deleted file mode 100644 index a1487eb1f4a6bec5b4be968e8806fab0f8daa0ff..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/actor.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>The name of the user who performed the last transition</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>actor</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>user/getUserName</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/comment.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/comment.xml deleted file mode 100644 index f9ffdeace18e32086669cd8eb43fb11b21034749..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/comment.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Comments about the last transition</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>comment</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:state_change.kwargs.get(\'comment\', \'\')</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/error_message.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/error_message.xml deleted file mode 100644 index 535863de2a26221cff2a356674852ea83bcee061..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/error_message.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default_expr</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Error message if validation failed</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>error_message</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/history.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/history.xml deleted file mode 100644 index e97a0a7c5697b52407bdfaa324a91fc358b36b71..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/history.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Provides access to workflow history</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>history</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>0</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>state_change/getHistory</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/time.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/time.xml deleted file mode 100644 index 0e45efc0197a8a08b2e23242d70b3cf843c8543c..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/variables/time.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>default_expr</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>default_value</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Time of the last transition</string> </value> - </item> - <item> - <key> <string>for_catalog</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>for_status</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>time</string> </value> - </item> - <item> - <key> <string>info_guard</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>update_always</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>state_change/getDateTime</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists.xml deleted file mode 100644 index c7242ee1148db07bda32db11056a3ebf57c34632..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="Worklists" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_mapping</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>worklists</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/assigned_to_translate.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/assigned_to_translate.xml deleted file mode 100644 index 1bfafdf60bcaaa70c1c0b34e60244d2b904ca910..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/assigned_to_translate.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Assigned Translations (%(count)s)</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -ERP5Site_viewDocumentList?validation_state=assigned&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1 - -]]></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Assigned translations</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>assigned_to_translate</string> </value> - </item> - <item> - <key> <string>var_matches</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignee</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>validation_state</string> </key> - <value> - <tuple> - <string>assigned</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/draft_to_submit.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/draft_to_submit.xml deleted file mode 100644 index c41e77ca56a6971908374f90fedcafc359491ba4..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/draft_to_submit.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Documents to Submit (%(count)s)</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -ERP5Site_viewDocumentList?validation_state=draft&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1 - -]]></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Documents to Submit</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>draft_to_submit</string> </value> - </item> - <item> - <key> <string>var_matches</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>validation_state</string> </key> - <value> - <tuple> - <string>draft</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/requested_to_assign.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/requested_to_assign.xml deleted file mode 100644 index 1c09d01195100ee28f5e6a7b1f4f7b9f95b602a3..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/requested_to_assign.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Translations to Assign (%(count)s)</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -ERP5Site_viewDocumentList?validation_state=requested&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1 - -]]></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Translations to assign</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>requested_to_assign</string> </value> - </item> - <item> - <key> <string>var_matches</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>validation_state</string> </key> - <value> - <tuple> - <string>requested</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/submitted_for_review.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/submitted_for_review.xml deleted file mode 100644 index 58ce403c343cac2e4a8449dad55532c960262ea1..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/submitted_for_review.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Documents to Review (%(count)s)</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -ERP5Site_viewDocumentList?validation_state=submitted&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1 - -]]></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Documents submitted for review</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>submitted_for_review</string> </value> - </item> - <item> - <key> <string>var_matches</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>validation_state</string> </key> - <value> - <tuple> - <string>submitted</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/translated_to_accept.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/translated_to_accept.xml deleted file mode 100644 index 6e39c349f8cb2f9d5721085fa3f53e490269243c..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/translated_to_accept.xml +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Translations to Revise (%(count)s)</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -ERP5Site_viewDocumentList?validation_state=translated&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1 - -]]></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Translations to revise</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>translated_to_accept</string> </value> - </item> - <item> - <key> <string>var_matches</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>validation_state</string> </key> - <value> - <tuple> - <string>translated</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/translation_to_collate.xml b/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/translation_to_collate.xml deleted file mode 100644 index 9bc000475a8cf72a9e581048e5c04a237715ca14..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/WorkflowTemplateItem/portal_workflow/ung_document_publication_workflow/worklists/translation_to_collate.xml +++ /dev/null @@ -1,96 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>actbox_category</string> </key> - <value> <string>global</string> </value> - </item> - <item> - <key> <string>actbox_name</string> </key> - <value> <string>Translations to Collate (%(count)s)</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -ERP5Site_viewDocumentList?validation_state=split&local_roles=%(local_roles)s&portal_type=%(portal_type)s&reset=1 - -]]></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Translation to collate</string> </value> - </item> - <item> - <key> <string>guard</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>translation_to_collate</string> </value> - </item> - <item> - <key> <string>var_matches</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Guard" module="Products.DCWorkflow.Guard"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Assignee</string> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="PersistentMapping" module="Persistence.mapping"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary> - <item> - <key> <string>validation_state</string> </key> - <value> - <tuple> - <string>split</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_web_ung_core/bt/template_portal_type_workflow_chain_list b/bt5/erp5_web_ung_core/bt/template_portal_type_workflow_chain_list index 8e9e534a0a271e7bc3f639ec4432c4d8e14ecc71..546ff0ac921aa9148365e23fde5bd85be6241ccb 100644 --- a/bt5/erp5_web_ung_core/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_web_ung_core/bt/template_portal_type_workflow_chain_list @@ -1,10 +1,10 @@ Web Illustration | document_conversion_interaction_workflow +Web Illustration | document_publication_workflow Web Illustration | document_security_interaction_workflow Web Illustration | edit_workflow Web Illustration | processing_status_workflow -Web Illustration | ung_document_publication_workflow Web Table | document_conversion_interaction_workflow +Web Table | document_publication_workflow Web Table | document_security_interaction_workflow Web Table | edit_workflow -Web Table | processing_status_workflow -Web Table | ung_document_publication_workflow \ No newline at end of file +Web Table | processing_status_workflow \ No newline at end of file diff --git a/bt5/erp5_web_ung_core/bt/template_workflow_id_list b/bt5/erp5_web_ung_core/bt/template_workflow_id_list deleted file mode 100644 index ac492ca2fb8b735638b2b44aebb9c26839058a8d..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_core/bt/template_workflow_id_list +++ /dev/null @@ -1 +0,0 @@ -ung_document_publication_workflow \ No newline at end of file diff --git a/bt5/erp5_web_ung_theme/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_web_ung_theme/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml deleted file mode 100644 index 7a7845dc2cbce0d85b4539babb282404f49915d9..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_theme/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ /dev/null @@ -1,6 +0,0 @@ -<workflow_chain> - <chain> - <type>Web Page</type> - <workflow>-document_publication_workflow, document_conversion_interaction_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow, ung_document_publication_workflow</workflow> - </chain> -</workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_web_ung_theme/TestTemplateItem/portal_components/test.erp5.testUNG.py b/bt5/erp5_web_ung_theme/TestTemplateItem/portal_components/test.erp5.testUNG.py index d312057cd1764a5858f92cfbf8a8216f8736f009..87fb16f42b551787db4c27a6a7a33ea80f9a64a2 100644 --- a/bt5/erp5_web_ung_theme/TestTemplateItem/portal_components/test.erp5.testUNG.py +++ b/bt5/erp5_web_ung_theme/TestTemplateItem/portal_components/test.erp5.testUNG.py @@ -122,51 +122,6 @@ class TestUNG(ERP5TypeTestCase): self.assertEqual(web_illustration.WebPage_getUNGIcon(), "<img src='ung_images/svg.png'/>") - def testWebSection_deleteObjectList(self): - """Test if objects are deleted correctly""" - web_page_module = self.portal.web_page_module - web_page = web_page_module.newContent(portal_type="Web Page") - relative_url = web_page.getRelativeUrl() - self.portal.REQUEST.set("uids", [web_page.getUid(),]) - self.tic() - self.changeSkin("UNGDoc") - self.portal.WebSection_deleteObjectList() - self.tic() - self.assertEqual(web_page.getValidationState(), "deleted") - self.portal.REQUEST.set("uids", [web_page.getUid(),]) - self.tic() - self.changeSkin("UNGDoc") - self.portal.WebSection_deleteObjectList() - self.tic() - self.assertEqual(len(self.portal.portal_catalog(relative_url=relative_url)), 0) - web_page = web_page_module.newContent(portal_type="Web Page") - web_table = web_page_module.newContent(portal_type="Web Table") - web_illustration = web_page_module.newContent(portal_type="Web Illustration") - web_page.publish() - web_table.publish() - web_illustration.publish() - self.tic() - uid_list = [web_page.getUid(), - web_table.getUid(), - web_illustration.getUid()] - self.portal.REQUEST.set("uids", uid_list) - self.changeSkin("UNGDoc") - self.portal.web_site_module.ung.WebSection_deleteObjectList() - self.tic() - self.assertEqual(web_page.getValidationState(), "deleted") - self.assertEqual(web_table.getValidationState(), "deleted") - self.assertEqual(web_illustration.getValidationState(), "deleted") - self.portal.REQUEST.set("uids", uid_list) - id_list = [web_page.getId(), - web_table.getId(), - web_illustration.getId()] - self.changeSkin("UNGDoc") - self.portal.web_site_module.ung.WebSection_deleteObjectList() - self.tic() - self.assertFalse(id_list[0] in web_page_module.objectIds()) - self.assertFalse(id_list[1] in web_page_module.objectIds()) - self.assertFalse(id_list[2] in web_page_module.objectIds()) - def testERP5Site_userFollowUpWebPage(self): """Test if user is added in field Follow Up of Web Page""" self.changeSkin('UNGDoc') diff --git a/bt5/erp5_web_ung_theme/bt/template_portal_type_workflow_chain_list b/bt5/erp5_web_ung_theme/bt/template_portal_type_workflow_chain_list deleted file mode 100644 index cacbd2ce1df7b4ca8bb86406cffab5ac4bb73687..0000000000000000000000000000000000000000 --- a/bt5/erp5_web_ung_theme/bt/template_portal_type_workflow_chain_list +++ /dev/null @@ -1,6 +0,0 @@ -Web Page | -document_publication_workflow -Web Page | document_conversion_interaction_workflow -Web Page | document_security_interaction_workflow -Web Page | edit_workflow -Web Page | processing_status_workflow -Web Page | ung_document_publication_workflow \ No newline at end of file