From 64bfe34ec56081fdc7471f4c339dfb63b9002953 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 24 Mar 2006 10:14:43 +0000
Subject: [PATCH] Only disable preference the user owns

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6196 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../preference_workflow/scripts/disableOtherPreferences.xml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml
index 5dcbed2b75..69739c4f36 100755
--- a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml
+++ b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml
@@ -75,7 +75,7 @@ N_ = context.Base_translateString\n
 for p in portal.portal_preferences.searchFolder(spec=(\'ERP5 Preference\',)) :\n
   p = p.getObject()\n
   try :\n
-    if portal.portal_membership.getAuthenticatedMember().allowed(p, [\'Owner\', \'Assignor\']) :\n
+    if portal.portal_membership.getAuthenticatedMember().allowed(p, [\'Owner\', ]) :\n
       if p != pref and \\\n
          p.getPreferenceState() == \'enabled\' and \\\n
          p.getPriority() == pref.getPriority() :\n
-- 
2.30.9