Commit 07da663a authored by Ayush Tiwari's avatar Ayush Tiwari

wip

parent ebabb612
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>new_thread</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>New Thread</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DiscussionModuleThread_viewAddThreadDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DiscussionThreadModule_viewDiscussionThreadList</string> </value>
<value> <string>string:${object_url}/DiscussionThreadModule_viewDiscussionThreadsList</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>new_reply</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>New Reply</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/DiscussionThreadModule_viewAddReplyDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -30,7 +30,9 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
......
<local_roles_item>
<local_roles>
<role id='ADM'>
<item>Auditor</item>
<item>Author</item>
</role>
<role id='USR'>
<item>Auditor</item>
<item>Author</item>
</role>
<role id='VSR'>
<role id='VST'>
<item>Auditor</item>
</role>
<role id='lm1tnw5i0d'>
<role id='zope'>
<item>Owner</item>
</role>
</local_roles>
......
......@@ -6,10 +6,14 @@
<role id='USR'>
<item>Auditor</item>
</role>
<role id='VSR'>
<role id='VST'>
<item>Auditor</item>
</role>
<role id='lm1tnw5i0d'>
<role id='my_group'>
<item>Auditor</item>
<item>Author</item>
</role>
<role id='zope'>
<item>Owner</item>
</role>
</local_roles>
......
......@@ -79,7 +79,6 @@
<role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
......
......@@ -6,6 +6,53 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_folders_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Copy_or_Move_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Delete_objects_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
......@@ -24,13 +71,21 @@
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>function/forum</string>
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>FRN</string> </value>
<value> <string>FRM</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Function Category for forum users</string> </value>
<value> <string>Function category for forum users</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -6,6 +6,53 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_folders_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Copy_or_Move_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Delete_objects_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
......
......@@ -6,13 +6,68 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_folders_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Copy_or_Move_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Delete_objects_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>function/forum/user</string>
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>USR</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Forum User that can create new threads</string> </value>
<value> <string>Forum users that can create new friends</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -6,6 +6,53 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_folders_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Copy_or_Move_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Delete_objects_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
......@@ -16,11 +63,11 @@
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>VSR</string> </value>
<value> <string>VST</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Forum Visitor, can replies on public threads</string> </value>
<value> <string>Forum visitor, can reply on public threads</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......@@ -32,7 +79,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Visitor</string> </value>
<value> <string>visitor</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -3,6 +3,6 @@
<item>TextDocument</item>
</portal_type>
<portal_type id="Discussion Thread">
<item>DiscussionThread</item>
<item>Discussion Thread</item>
</portal_type>
</property_sheet_list>
\ No newline at end of file
......@@ -6,7 +6,8 @@
<multi_property id='category'>function/forum/user</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Visitor Forum</property>
<property id='title'>Visitor</property>
<property id='description'>Forum Visitors can view the discussion thread module and the public threads inside it.</property>
<multi_property id='category'>function/forum/visitor</multi_property>
</role>
</type_roles>
\ No newline at end of file
<type_roles>
<role id='Assignor'>
<property id='title'>Administrator</property>
<property id='description'>Forum Administrators are allowed to modify any thread and change its status.</property>
<multi_property id='category'>function/forum/administrator</multi_property>
</role>
<role id='Author; Auditor'>
......@@ -11,7 +10,6 @@
</role>
<role id='Auditor'>
<property id='title'>Visitor</property>
<property id='description'>Forum visitors read threads with their posts.</property>
<multi_property id='category'>function/forum/visitor</multi_property>
</role>
</type_roles>
\ No newline at end of file
<type_roles>
<role id='Auditor; Author'>
<property id='title'>Default</property>
<property id='description'>Configured by ERP5 Configurator</property>
<multi_property id='category'>group/my_group</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Forum User</property>
<property id='description'>Forum users can see information on Persons.</property>
<multi_property id='category'>function/forum/visitor</multi_property>
<multi_property id='category'>function/forum/user</multi_property>
<multi_property id='category'>function/forum/administrator</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Forum Visitor</property>
<property id='description'>Just a visitor.</property>
<multi_property id='category'>function/forum/visitor</multi_property>
</role>
</type_roles>
\ No newline at end of file
<type_roles>
<role id='Assignor; Assignee; Associate; Auditor; Author'>
<property id='title'>Default</property>
<property id='description'>Configured by ERP5 Configurator</property>
<multi_property id='category'>group/my_group</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Forum User</property>
<property id='description'>Forum users can see information on Persons.</property>
<multi_property id='category'>function/forum/visitor</multi_property>
<multi_property id='category'>function/forum/user</multi_property>
<multi_property id='category'>function/forum/administrator</multi_property>
......
......@@ -6,25 +6,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
......@@ -37,13 +18,8 @@
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addTextDocument</string> </value>
<value> <string>Post for a forum\n
</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......@@ -65,49 +41,21 @@
<key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value>
<none/>
</value>
<key> <string>type_class</string> </key>
<value> <string>TextDocument</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<key> <string>type_interface</string> </key>
<value>
<none/>
<tuple/>
</value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
<key> <string>type_mixin</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
......
......@@ -9,20 +9,7 @@
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
......@@ -31,7 +18,9 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>factory</string> </key>
......@@ -45,28 +34,16 @@
</tuple>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string>document_icon.gif</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Discussion Thread Module</string> </value>
</item>
<item>
<key> <string>immediate_view</string> </key>
<value> <string>Folder_view</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>meta_type</string> </key>
<value> <string>ERP5 Folder</string> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value>
......@@ -77,23 +54,56 @@
<key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value>
</item>
<item>
<key> <string>product</string> </key>
<value> <string>ERP5Type</string> </value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>Folder</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>type_mixin</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
</pickle>
<pickle>
<dictionary>
......@@ -108,12 +118,9 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -7,160 +7,53 @@
<pickle>
<dictionary>
<item>
<key> <string>_property_domain_dict</string> </key>
<key> <string>content_icon</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
<none/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value> <string>None</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>ERP5 default document. Supports synchronisation and XML.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addXMLObject</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple/>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string>document_icon.gif</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Discussion Thread</string> </value>
</item>
<item>
<key> <string>id_generator</string> </key>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id_group</string> </key>
<value> <string>None</string> </value>
</item>
<item>
<key> <string>immediate_view</string> </key>
<value> <string>XMLObject_view</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<key> <string>permission</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>meta_type</string> </key>
<value> <string>ERP5 XML Object</string> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value>
</item>
<item>
<key> <string>product</string> </key>
<value> <string>ERP5Type</string> </value>
<key> <string>type_class</string> </key>
<value> <string>XMLObject</string> </value>
</item>
<item>
<key> <string>searchable_text_method_id</string> </key>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>title</string>
<string>description</string>
<string>id</string>
<string>reference</string>
<string>short_title</string>
</tuple>
</value>
</item>
<item>
<key> <string>short_title</string> </key>
<value> <string>None</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<key> <string>type_mixin</string> </key>
<value>
<none/>
<tuple/>
</value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
<workflow_chain>
<chain>
<type>Discussion Post</type>
<workflow>edit_workflow</workflow>
</chain>
<chain>
<type>Discussion Thread</type>
<workflow>discussion_thread_workflow, edit_workflow</workflow>
......
......@@ -18,7 +18,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<value> <string>ERP5_Forum</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,31 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......@@ -94,8 +73,8 @@
<value>
<list>
<string>my_title</string>
<string>my_text_content</string>
<string>my_source_title</string>
<string>my_text_content</string>
</list>
</value>
</item>
......
......@@ -81,6 +81,10 @@
<key> <string>container_getter_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>context_getter_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -240,6 +244,10 @@
<key> <string>container_getter_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>context_getter_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -385,7 +393,7 @@
</item>
<item>
<key> <string>base_category</string> </key>
<value> <string>Source</string> </value>
<value> <string>source</string> </value>
</item>
<item>
<key> <string>catalog_index</string> </key>
......@@ -401,6 +409,10 @@
<key> <string>container_getter_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>context_getter_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -486,7 +498,7 @@
<value>
<list>
<tuple>
<string>person</string>
<string>Person</string>
<string>Person</string>
</tuple>
</list>
......
......@@ -50,27 +50,35 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>person = context.ERP5Site_getAuthenticatedMemberPersonValue\n
<value> <string># Example code:\n
\n
# Import a standard function, and get the HTML request and response objects.\n
from Products.PythonScripts.standard import html_quote\n
request = container.REQUEST\n
response = request.response\n
\n
person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
translateString = context.Base_translateString\n
\n
discussion_post = context.newContent(\n
title=title,\n
text_content=text_content,\n
source_value=person,\n
portal_type=\'Discussion Post\'\n
portal_type="Discussion Post"\n
)\n
\n
if batch_mode:\n
return discussion_post\n
\n
translateString = context.Base_translateString\n
portal_status_message = translateString("New reply created.")\n
\n
portal_status_message = translateString(\'New reply created.\')\n
context.Base_redirect(\'view\',\n
keep_items = dict(portal_status_message=portal_status_message))\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>title, text_content, form_id, batch_mode=False, **kw</string> </value>
<value> <string>title, text_content, form_id, batch_mode=False,**kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -50,32 +50,39 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
<value> <string># Example code:\n
\n
# Import a standard function, and get the HTML request and response objects.\n
from Products.PythonScripts.standard import html_quote\n
#request = container.REQUEST\n
#response = request.response\n
\n
person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
translateString = context.Base_translateString\n
\n
discussion_thread = context.newContent(\n
title=title,\n
title = title,\n
text_content=text_content,\n
portal_type=\'Discussion Thread\'\n
)\n
portal_type="Discussion Thread"\n
)\n
\n
discussion_post = discussion_thread.newContent(\n
title=title,\n
text_content=text_content,\n
source_value=person,\n
portal_type=\'Discussion Post\'\n
portal_type="Discussion Post"\n
)\n
\n
discussion_thread.publish()\n
portal_status_message = translateString(\n
\'New post created. Your post will be reviewed for approval..\'\n
"New post created"\n
)\n
\n
if batch_mode:\n
# For unit tests\n
return discussion_thread\n
\n
\n
return discussion_thread.Base_redirect(\'view\',\n
keep_items = dict(portal_status_message=portal_status_message), **kw)\n
keep_items=dict(portal_status_message=portal_status_message), **kw)\n
</string> </value>
</item>
<item>
......
......@@ -2,31 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......@@ -93,8 +72,8 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_text_content</string>
<string>your_title</string>
<string>your_text_content</string>
</list>
</value>
</item>
......@@ -133,7 +112,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>New Reply</string> </value>
<value> <string>New reply</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -2,31 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......@@ -39,7 +18,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Use this dialog to create a reply and associate it with a post.</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
......@@ -109,7 +88,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>DiscussionModuleThread_viewAddThreadDialog</string> </value>
<value> <string>DiscussionThreadModule_viewAddThreadDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -133,7 +112,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>New Post</string> </value>
<value> <string>New Threads</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_text_content</string> </value>
<value> <string>your_text_content</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -237,7 +237,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Text Content</string> </value>
<value> <string>Content</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_title</string> </value>
<value> <string>your_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
......@@ -2,31 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......@@ -110,7 +89,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>DiscussionThreadModule_viewDiscussionThreadList</string> </value>
<value> <string>DiscussionThreadModule_viewDiscussionThreadsList</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -118,7 +97,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>DiscussionThreadModule_viewDiscussionThreadList</string> </value>
<value> <string>DiscussionThreadModule_viewDiscussionThreadsList</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
......@@ -83,21 +83,25 @@
<string>Title</string>
</tuple>
<tuple>
<string>translated_validation_state</string>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
<tuple>
<string>rating</string>
<string>Rating</string>
<string>rating</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>Date</string>
<string>creation_date</string>
</tuple>
<tuple>
<string>count</string>
<string>Reply</string>
</tuple>
<tuple>
<string>subject_list</string>
<string>subject_list</string>
</tuple>
</list>
</value>
</item>
......@@ -114,8 +118,8 @@
<value>
<list>
<tuple>
<string>Discussion Thread</string>
<string>Discussion Thread</string>
<string>Discussion Threads</string>
<string>Discussion Threads</string>
</tuple>
</list>
</value>
......@@ -129,7 +133,7 @@
<value>
<list>
<tuple>
<string>Date</string>
<string>creation_date</string>
<string>asc</string>
</tuple>
</list>
......
......@@ -261,16 +261,13 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: len(cell.objectIds())</string> </value>
<value> <string>python:len(cell.objectids())</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,31 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
......@@ -80,9 +59,7 @@
<item>
<key> <string>center</string> </key>
<value>
<list>
<string>my_listbox</string>
</list>
<list/>
</value>
</item>
<item>
......@@ -97,7 +74,8 @@
<list>
<string>my_title</string>
<string>my_rating</string>
<string>my_text_content</string>
<string>my_listbox</string>
<string>my_subject_list</string>
</list>
</value>
</item>
......@@ -105,7 +83,7 @@
<key> <string>right</string> </key>
<value>
<list>
<string>my_translated_validation_state</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -94,15 +94,11 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>full_text_search_key</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>full_text_search_key_script</string> </key>
<key> <string>global_attributes</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>global_attributes</string> </key>
<key> <string>global_search_column</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -130,7 +126,7 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>page_navigation_mode</string> </key>
<key> <string>page_navigation_template</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -185,6 +181,10 @@
<key> <string>stat_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>style_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......@@ -269,15 +269,11 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>full_text_search_key</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>full_text_search_key_script</string> </key>
<key> <string>global_attributes</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>global_attributes</string> </key>
<key> <string>global_search_column</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -305,7 +301,7 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>page_navigation_mode</string> </key>
<key> <string>page_navigation_template</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -360,6 +356,10 @@
<key> <string>stat_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>style_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......@@ -399,15 +399,19 @@
<list>
<tuple>
<string>title</string>
<string>Title</string>
<string>title</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
<string>translated_validation_state_title</string>
</tuple>
<tuple>
<string>rating</string>
<string>Rating</string>
<string>rating</string>
</tuple>
<tuple>
<string>subject_list</string>
<string>subject_list</string>
</tuple>
</list>
</value>
......@@ -470,20 +474,16 @@
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>full_text_search_key</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>full_text_search_key_script</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>global_attributes</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>global_search_column</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
......@@ -513,12 +513,12 @@
</value>
</item>
<item>
<key> <string>page_navigation_mode</string> </key>
<key> <string>page_navigation_template</string> </key>
<value> <string>slider</string> </value>
</item>
<item>
<key> <string>page_template</string> </key>
<value> <string>ListBox_ThreadAsHTML</string> </value>
<value> <string>ListBox_threadAsHTML</string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
......@@ -542,7 +542,7 @@
</item>
<item>
<key> <string>search</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>search_columns</string> </key>
......@@ -552,11 +552,11 @@
</item>
<item>
<key> <string>select</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>search_selection</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>sort</string> </key>
......@@ -580,6 +580,12 @@
<key> <string>stat_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>style_columns</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Threads</string> </value>
......@@ -604,10 +610,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
......@@ -620,10 +623,7 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_translated_validation_state</string> </value>
<value> <string>my_translated_validation_state_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -209,7 +209,7 @@
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
......
......@@ -6,10 +6,20 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_recorded_property_dict</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>testDiscussionThread</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Unittest for forum template</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test.erp5.testDiscussionThread</string> </value>
......@@ -24,6 +34,20 @@
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 29, 0: Unused OK imported from httplib as HTTP_OK (unused-import)</string>
</tuple>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
......@@ -31,13 +55,28 @@
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</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/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
......@@ -50,7 +89,7 @@
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
......@@ -59,7 +98,7 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
......@@ -72,33 +111,6 @@
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>ERP5TypeTestCase</string> </value>
</item>
<item>
<key> <string>comment</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>1377844658.71</float>
<string>GMT+9</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
......
......@@ -58,7 +58,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ERP5 default workflow</string> </value>
<value> <string>Discussion Thread Workflow</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cancel</string> </value>
<value> <string>cancelled</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -44,10 +44,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -46,10 +46,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
......@@ -61,6 +58,7 @@
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
......@@ -96,7 +94,7 @@
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Owner</string>
</tuple>
</value>
......
<?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></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>publish</string>
<string>publish_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>
<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>Assignee</string>
<string>Assignor</string>
<string>Auditor</string>
<string>Author</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>Delete objects</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>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -30,8 +30,10 @@
<tuple>
<string>close</string>
<string>close_action</string>
<string>sticky</string>
<string>sticky_action</string>
<string>hide</string>
<string>hide_action</string>
<string>stick</string>
<string>stick_action</string>
</tuple>
</value>
</item>
......@@ -46,10 +48,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -14,6 +14,12 @@
<key> <string>id</string> </key>
<value> <string>sticky</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>Sticky</string> </value>
......@@ -24,8 +30,8 @@
<tuple>
<string>close</string>
<string>close_action</string>
<string>unsticky</string>
<string>unsticky_action</string>
<string>unstick</string>
<string>unstick_action</string>
</tuple>
</value>
</item>
......@@ -38,4 +44,76 @@
</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>Assignee</string>
<string>Assignor</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>Delete objects</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>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Auditor</string>
<string>Author</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -38,7 +42,7 @@
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>cancel</string> </value>
<value> <string>cancelled</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,9 +10,13 @@
<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>Cancelled</string> </value>
<value> <string>Cancel</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -24,7 +28,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Cancel action.</string> </value>
<value> <string>Cancels a thread</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,9 +10,13 @@
<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>Closed</string> </value>
<value> <string>Close</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -24,7 +28,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Close the thread.</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -34,11 +38,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>unsticky</string> </value>
<value> <string>hide</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
<value> <string>hidden</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
......@@ -46,7 +50,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Unsticky</string> </value>
<value> <string>Hide</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,21 +10,25 @@
<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>Unsticky</string> </value>
<value> <string>Hide </string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=unsticky_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=hide_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
<value> <string>hide</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Unsticky the thread.</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......@@ -34,7 +38,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>unsticky_action</string> </value>
<value> <string>hide_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......@@ -46,7 +50,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Unsticky Action</string> </value>
<value> <string>Hide Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -29,7 +33,7 @@
<item>
<key> <string>guard</string> </key>
<value>
<none/>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
......@@ -55,4 +59,21 @@
</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>Owner</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Publish</string> </value>
......@@ -24,7 +28,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Publish a thread.</string> </value>
<value> <string>Publish a thread in the forum</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......@@ -68,7 +69,7 @@
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Owner</string>
</tuple>
</value>
</item>
......
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -34,7 +38,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sticky</string> </value>
<value> <string>stick</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......@@ -46,7 +50,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Sticky</string> </value>
<value> <string>Stick</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,21 +10,25 @@
<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>Sticky</string> </value>
<value> <string>Stick </string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=sticky_action</string> </value>
<value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=stick_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>sticky</string> </value>
<value> <string>stick</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Sticky the thread.</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......@@ -34,7 +38,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sticky_action</string> </value>
<value> <string>stick_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......@@ -46,7 +50,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Sticky Action</string> </value>
<value> <string>Stick Action</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -38,7 +42,7 @@
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
<value> <string>public</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -10,9 +10,13 @@
<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>Unclosed</string> </value>
<value> <string>Unclose</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......@@ -20,11 +24,11 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
<value> <string>unclose</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Unclose the thread.</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
......@@ -38,7 +42,7 @@
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
......@@ -57,10 +61,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -18,7 +18,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>portal type (use as filter for worklists)</string> </value>
<value> <string>Portal type (used as filter for worklists)</string> </value>
</item>
<item>
<key> <string>for_catalog</string> </key>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment