From afd965436d51b44cf0e2808ce2dbdf88fcaa7240 Mon Sep 17 00:00:00 2001 From: Gabriel Monnerat <gabriel@tiolive.com> Date: Wed, 19 Jan 2011 16:13:12 +0000 Subject: [PATCH] add proxy role to allow normal users delete documents git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42470 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_web_ung_theme/WebSection_deleteObjectList.xml | 8 ++++++++ bt5/erp5_web_ung_theme/bt/revision | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_deleteObjectList.xml b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_deleteObjectList.xml index 1769d433bf..bc23024903 100644 --- a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_deleteObjectList.xml +++ b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_deleteObjectList.xml @@ -73,6 +73,14 @@ return context.ERP5Site_redirect(context.REQUEST.get("HTTP_REFERER"))\n <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>WebSection_deleteObjectList</string> </value> diff --git a/bt5/erp5_web_ung_theme/bt/revision b/bt5/erp5_web_ung_theme/bt/revision index a6b4ce8401..12e2555919 100644 --- a/bt5/erp5_web_ung_theme/bt/revision +++ b/bt5/erp5_web_ung_theme/bt/revision @@ -1 +1 @@ -176 \ No newline at end of file +177 \ No newline at end of file -- 2.30.9