From 6f1dfda120aa3b1b759eb4b1f3ab1e9d78c42726 Mon Sep 17 00:00:00 2001 From: Gabriel Monnerat <gabriel@tiolive.com> Date: Sat, 18 Dec 2010 13:33:55 +0000 Subject: [PATCH] - Clean up Portal Type Role to Text and added the same Role to SpreadSheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41521 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../PortalTypeRolesTemplateItem/Spreadsheet.xml | 12 ++++++++++++ .../PortalTypeRolesTemplateItem/Text.xml | 5 ++--- bt5/erp5_web_ung_core/bt/revision | 2 +- .../bt/template_portal_type_role_list | 1 + .../bt/template_portal_type_roles_list | 1 + 5 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Spreadsheet.xml diff --git a/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Spreadsheet.xml b/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Spreadsheet.xml new file mode 100644 index 0000000000..2a588bbf10 --- /dev/null +++ b/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Spreadsheet.xml @@ -0,0 +1,12 @@ +<type_roles> + <role id='Assignee'> + <property id='title'>Cloudooo Contributor</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property> + <multi_property id='base_category'>contributor</multi_property> + </role> + <role id='Assignee'> + <property id='title'>UNG Contributor</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property> + <multi_property id='base_category'>contributor</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Text.xml b/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Text.xml index 59bb39d6f4..2a588bbf10 100644 --- a/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Text.xml +++ b/bt5/erp5_web_ung_core/PortalTypeRolesTemplateItem/Text.xml @@ -4,10 +4,9 @@ <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property> <multi_property id='base_category'>contributor</multi_property> </role> - <role id='Auditor; Assignee; Assignor'> + <role id='Assignee'> <property id='title'>UNG Contributor</property> <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property> - <multi_property id='category'>function/ung_function</multi_property> - <multi_property id='base_category'>function</multi_property> + <multi_property id='base_category'>contributor</multi_property> </role> </type_roles> \ No newline at end of file diff --git a/bt5/erp5_web_ung_core/bt/revision b/bt5/erp5_web_ung_core/bt/revision index 978b4e8e51..a5c750feac 100644 --- a/bt5/erp5_web_ung_core/bt/revision +++ b/bt5/erp5_web_ung_core/bt/revision @@ -1 +1 @@ -26 \ No newline at end of file +27 \ No newline at end of file diff --git a/bt5/erp5_web_ung_core/bt/template_portal_type_role_list b/bt5/erp5_web_ung_core/bt/template_portal_type_role_list index bc80818903..3d9b63b0d0 100644 --- a/bt5/erp5_web_ung_core/bt/template_portal_type_role_list +++ b/bt5/erp5_web_ung_core/bt/template_portal_type_role_list @@ -1,5 +1,6 @@ Contribution Tool Document Module +Spreadsheet Text Web Page Web Page Module \ No newline at end of file diff --git a/bt5/erp5_web_ung_core/bt/template_portal_type_roles_list b/bt5/erp5_web_ung_core/bt/template_portal_type_roles_list index bc80818903..3d9b63b0d0 100644 --- a/bt5/erp5_web_ung_core/bt/template_portal_type_roles_list +++ b/bt5/erp5_web_ung_core/bt/template_portal_type_roles_list @@ -1,5 +1,6 @@ Contribution Tool Document Module +Spreadsheet Text Web Page Web Page Module \ No newline at end of file -- 2.30.9