[Erp5-report] r9079 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 8 09:35:03 CEST 2006


Author: jerome
Date: Tue Aug  8 09:34:57 2006
New Revision: 9079

URL: http://svn.erp5.org?rev=9079&view=rev
Log:
remove useless variables


Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml?rev=9079&r1=9078&r2=9079&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_setDefaultSecurity.xml Tue Aug  8 09:34:57 2006
@@ -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 @@
                           <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>




More information about the Erp5-report mailing list