diff --git a/product/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/constraint_type.xml b/product/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/constraint_type.xml new file mode 100644 index 0000000000000000000000000000000000000000..7a3ca86ce01e95d59a2841aa67f7fd146a5034a4 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/constraint_type.xml @@ -0,0 +1,123 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Base Category" module="erp5.portal_type"/> + </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> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>constraint_type</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>This category represents the steps of one upgrade.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>constraint_type</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Constraint Type</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/audit.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/audit.xml new file mode 100644 index 0000000000000000000000000000000000000000..638bbb7b0fd3bcafa3394a2f0f12a86aad564e76 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/audit.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </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>constraint_type/pre_upgrade</string> + <string>constraint_type/default</string> + <string>constraint_type/default</string> + <string>constraint_type/audit</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Started for general database audit (costly, done not too often to detect big global inconsistencies)</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>audit</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Audit</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/configuration.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/configuration.xml new file mode 100644 index 0000000000000000000000000000000000000000..cac30ec85666247ff1ac877b0b002b13b8440ea5 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/configuration.xml @@ -0,0 +1,93 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </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>constraint_type/pre_upgrade</string> + <string>constraint_type/default</string> + <string>constraint_type/default</string> + <string>constraint_type/configuration</string> + <string>constraint_type/configuration</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>configuration</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Configuration</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/default.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/default.xml new file mode 100644 index 0000000000000000000000000000000000000000..8955736f6cf5355e06ec2628cb2978b45c79afda --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/default.xml @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </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>constraint_type/pre_upgrade</string> + <string>constraint_type/default</string> + <string>constraint_type/default</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>default</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Default</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/post_upgrade.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/post_upgrade.xml new file mode 100644 index 0000000000000000000000000000000000000000..d9d9eea329a23d7b7bbf10433b009dc393b5ba45 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/post_upgrade.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </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>constraint_type/pre_upgrade</string> + <string>constraint_type/post_upgrade</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>post_upgrade</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Post-Upgrade</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/pre_upgrade.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/pre_upgrade.xml new file mode 100644 index 0000000000000000000000000000000000000000..6c5fa9fe0de594ab58a2b0a8228d128ecbc1ae00 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/pre_upgrade.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </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>constraint_type/pre_upgrade</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>pre_upgrade</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Pre-Upgrade</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/upgrader.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/upgrader.xml new file mode 100644 index 0000000000000000000000000000000000000000..16f77b3e6c33d62dc02fc7db2df86b9dab1dd067 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_categories/constraint_type/upgrader.xml @@ -0,0 +1,93 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </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>constraint_type/pre_upgrade</string> + <string>constraint_type/default</string> + <string>constraint_type/default</string> + <string>constraint_type/upgrader</string> + <string>constraint_type/upgrader</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>upgrader</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Upgrade</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_base_category_list b/product/ERP5/bootstrap/erp5_core/bt/template_base_category_list index 6658b4477f1d4187960a0131f1b5dca20983f234..fc6056540255e3fdcd08bba9e8c4e85a4c9bbe50 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/template_base_category_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_base_category_list @@ -4,6 +4,7 @@ aggregate business_application callable_type causality +constraint_type delivery destination destination_account diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_path_list b/product/ERP5/bootstrap/erp5_core/bt/template_path_list index eea760638954c72456d509ad2472b1fbaa605463..d8c742bb239c62fba58aef6ab1dac6c97eb24ed6 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/template_path_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_path_list @@ -15,6 +15,11 @@ portal_caches/erp5_ui_short portal_caches/erp5_ui_short/default_ram_cache portal_categories/action_type/* portal_categories/callable_type/** +portal_categories/constraint_type/audit +portal_categories/constraint_type/configuration +portal_categories/constraint_type/default +portal_categories/constraint_type/post_upgrade +portal_categories/constraint_type/pre_upgrade portal_categories/elementary_type/** portal_contribution_registry/default_predicate portal_contribution_registry/image_extension