From 318006d9670e4b659d9bf9e9a02b24c546506a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Tue, 27 Jan 2015 12:28:37 +0000 Subject: [PATCH] base : modify the permission, access contents information is enought in this case --- .../erp5_base/Person_getAvailableAssignmentValueList.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Person_getAvailableAssignmentValueList.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Person_getAvailableAssignmentValueList.xml index 2ad745f606..6ad5ce00be 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Person_getAvailableAssignmentValueList.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Person_getAvailableAssignmentValueList.xml @@ -54,7 +54,7 @@ current_date=DateTime()\n assignment_list = []\n -for assignment in context.contentValues(portal_type=\'Assignment\', checked_permission="View"):\n +for assignment in context.contentValues(portal_type=\'Assignment\', checked_permission="Access contents information"):\n if assignment.getValidationState() == \'open\':\n start_date = assignment.getStartDate()\n stop_date = assignment.getStopDate()\n -- 2.30.9