From 9ef9bb44f5864164bbe22a647169d12a50892eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 8 Aug 2006 07:34:57 +0000
Subject: [PATCH] remove useless variables

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9079 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_core/Base_setDefaultSecurity.xml   | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml
index 3ac5c4176c..e525def548 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml
@@ -68,10 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>valid_role_list = context.valid_roles()\n
-role_index_list = range(len(valid_role_list))\n
-permission_list = context.possible_permissions()\n
-\n
+            <value> <string>permission_list = context.possible_permissions()\n
 \n
 # First, remove all permissions (very secure by default)\n
 # We should keep only Manager, or we will not be able to\n
@@ -172,10 +169,6 @@ return "finished"\n
                           <tuple>
                             <string>_getattr_</string>
                             <string>context</string>
-                            <string>valid_role_list</string>
-                            <string>range</string>
-                            <string>len</string>
-                            <string>role_index_list</string>
                             <string>permission_list</string>
                             <string>_getiter_</string>
                             <string>permission</string>
-- 
2.30.9