From 6c1e34d46d264611d95b6ddd2b2a0bd326f57d95 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 14 Sep 2009 07:56:17 +0000 Subject: [PATCH] add a security configuration for Web Page Module and Web Page. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29007 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../LocalRolesTemplateItem/web_page_module.xml | 12 ++++++++++++ .../Web%20Page%20Module.xml | 7 +++++++ .../PortalTypeRolesTemplateItem/Web%20Page.xml | 7 +++++++ bt5/erp5_web_ui_test/bt/revision | 2 +- bt5/erp5_web_ui_test/bt/template_local_roles_list | 1 + .../bt/template_portal_type_roles_list | 2 ++ 6 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_web_ui_test/LocalRolesTemplateItem/web_page_module.xml create mode 100644 bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page%20Module.xml create mode 100644 bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page.xml diff --git a/bt5/erp5_web_ui_test/LocalRolesTemplateItem/web_page_module.xml b/bt5/erp5_web_ui_test/LocalRolesTemplateItem/web_page_module.xml new file mode 100644 index 0000000000..39077ae15e --- /dev/null +++ b/bt5/erp5_web_ui_test/LocalRolesTemplateItem/web_page_module.xml @@ -0,0 +1,12 @@ +<local_roles_item> + <local_roles> + <role id='ERP5TypeTestCase'> + <item>Owner</item> + </role> + <role id='web'> + <item>Assignor</item> + </role> + </local_roles> + <group_local_roles> + </group_local_roles> +</local_roles_item> \ No newline at end of file diff --git a/bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page%20Module.xml b/bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page%20Module.xml new file mode 100644 index 0000000000..71bea9a0ba --- /dev/null +++ b/bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page%20Module.xml @@ -0,0 +1,7 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Web Master</property> + <property id='priority'>10.0</property> + <multi_property id='category'>group/web</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page.xml b/bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page.xml new file mode 100644 index 0000000000..71bea9a0ba --- /dev/null +++ b/bt5/erp5_web_ui_test/PortalTypeRolesTemplateItem/Web%20Page.xml @@ -0,0 +1,7 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Web Master</property> + <property id='priority'>10.0</property> + <multi_property id='category'>group/web</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_web_ui_test/bt/revision b/bt5/erp5_web_ui_test/bt/revision index dec2bf5d61..2edeafb09d 100644 --- a/bt5/erp5_web_ui_test/bt/revision +++ b/bt5/erp5_web_ui_test/bt/revision @@ -1 +1 @@ -19 \ No newline at end of file +20 \ No newline at end of file diff --git a/bt5/erp5_web_ui_test/bt/template_local_roles_list b/bt5/erp5_web_ui_test/bt/template_local_roles_list index c57239aea1..a65c81874b 100644 --- a/bt5/erp5_web_ui_test/bt/template_local_roles_list +++ b/bt5/erp5_web_ui_test/bt/template_local_roles_list @@ -1 +1,2 @@ +web_page_module web_site_module \ No newline at end of file diff --git a/bt5/erp5_web_ui_test/bt/template_portal_type_roles_list b/bt5/erp5_web_ui_test/bt/template_portal_type_roles_list index e697ceb117..0ede11d9a2 100644 --- a/bt5/erp5_web_ui_test/bt/template_portal_type_roles_list +++ b/bt5/erp5_web_ui_test/bt/template_portal_type_roles_list @@ -1,2 +1,4 @@ +Web Page +Web Page Module Web Site Web Site Module \ No newline at end of file -- 2.30.9