From 25ea4865a16118f9394728bd98bd78bde841081c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 25 Jun 2009 15:55:11 +0000 Subject: [PATCH] - add proxy role to this script, otherwise if run by user without access to Person portal type objects it just returns nothing git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27800 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ERP5Site_getAuthenticatedMemberPersonValue.xml | 8 ++++++++ bt5/erp5_base/bt/revision | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getAuthenticatedMemberPersonValue.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getAuthenticatedMemberPersonValue.xml index 279ad34450..0a94d75050 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getAuthenticatedMemberPersonValue.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getAuthenticatedMemberPersonValue.xml @@ -79,6 +79,14 @@ return found_user_list[0].getObject()\n <key> <string>_params</string> </key> <value> <string>user_name = None</string> </value> </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> <item> <key> <string>errors</string> </key> <value> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index e88ff725aa..fb4abc5b58 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -602 \ No newline at end of file +603 \ No newline at end of file -- 2.30.9