[Erp5-report] r21352 - in /erp5/trunk/bt5/erp5_banking_inventory: ModuleTemplateItem/ Porta...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 5 14:54:58 CEST 2008


Author: aurel
Date: Thu Jun  5 14:54:53 2008
New Revision: 21352

URL: http://svn.erp5.org?rev=21352&view=rev
Log:
form fix and security changes

Added:
    erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml
Modified:
    erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml
    erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml
    erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml
    erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml
    erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml
    erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml
    erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml
    erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml
    erp5/trunk/bt5/erp5_banking_inventory/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/bank_account_inventory_module.xml Thu Jun  5 14:54:53 2008
@@ -466,6 +466,9 @@
    <name>Edit Factories</name>
    <role>Manager</role>
   </permission>
+  <permission type='list'>
+   <name>Edit ParsedXML</name>
+  </permission>
   <permission type='tuple'>
    <name>Edit ReStructuredText</name>
    <role>Manager</role>
@@ -665,6 +668,9 @@
    <role>Auditor</role>
    <role>Author</role>
    <role>Manager</role>
+  </permission>
+  <permission type='list'>
+   <name>View DOM hierarchy</name>
   </permission>
   <permission type='tuple'>
    <name>View History</name>

Modified: erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/ModuleTemplateItem/cash_inventory_module.xml Thu Jun  5 14:54:53 2008
@@ -459,6 +459,9 @@
    <name>Edit Factories</name>
    <role>Manager</role>
   </permission>
+  <permission type='list'>
+   <name>Edit ParsedXML</name>
+  </permission>
   <permission type='tuple'>
    <name>Edit ReStructuredText</name>
    <role>Manager</role>
@@ -656,6 +659,9 @@
    <role>Auditor</role>
    <role>Author</role>
    <role>Manager</role>
+  </permission>
+  <permission type='list'>
+   <name>View DOM hierarchy</name>
   </permission>
   <permission type='tuple'>
    <name>View History</name>

Modified: erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%2520Account%2520Inventory%2520Module.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Bank%20Account%20Inventory%20Module.xml Thu Jun  5 14:54:53 2008
@@ -31,6 +31,25 @@
             <key> <string>_owner</string> </key>
             <value>
               <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_property_domain_dict</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>short_title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
             </value>
         </item>
         <item>
@@ -112,4 +131,44 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>short_title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%2520Inventory%2520Module.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/PortalTypeTemplateItem/portal_types/Cash%20Inventory%20Module.xml Thu Jun  5 14:54:53 2008
@@ -31,6 +31,25 @@
             <key> <string>_owner</string> </key>
             <value>
               <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_property_domain_dict</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>short_title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
             </value>
         </item>
         <item>
@@ -98,4 +117,44 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>short_title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>domain_name</string> </key>
+            <value> <string>erp5_ui</string> </value>
+        </item>
+        <item>
+            <key> <string>property_name</string> </key>
+            <value> <string>title</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view.xml Thu Jun  5 14:54:53 2008
@@ -110,7 +110,7 @@
                       <list>
                         <string>my_title</string>
                         <string>my_stop_date</string>
-                        <string>my_site</string>
+                        <string>my_destination</string>
                         <string>listbox_total_price</string>
                       </list>
                     </value>

Added: erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml?rev=21352&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml (added)
+++ erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/BankAccountInventoryGroup_view/my_destination.xml Thu Jun  5 14:54:53 2008
@@ -1,0 +1,286 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ListField" module="Products.Formulator.StandardFields"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>my_destination</string> </value>
+        </item>
+        <item>
+            <key> <string>message_values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>external_validator_failed</string> </key>
+                    <value> <string>The input failed the external validator.</string> </value>
+                </item>
+                <item>
+                    <key> <string>required_not_found</string> </key>
+                    <value> <string>Input is required but no input given.</string> </value>
+                </item>
+                <item>
+                    <key> <string>unknown_selection</string> </key>
+                    <value> <string>You selected an item that was not in the list.</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>overrides</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>alternate_name</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>css_class</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>description</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>editable</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>enabled</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>external_validator</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>extra</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>extra_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>first_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>hidden</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>items</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>required</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>size</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>unicode</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>whitespace_preserve</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>tales</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>alternate_name</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>css_class</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>description</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>editable</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>enabled</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>external_validator</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>extra</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>extra_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>first_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>hidden</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>items</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>required</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>size</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>unicode</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>whitespace_preserve</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>alternate_name</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>css_class</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>description</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>editable</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
+                <item>
+                    <key> <string>enabled</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
+                <item>
+                    <key> <string>external_validator</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>extra</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>extra_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>first_item</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>hidden</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>items</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>required</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
+                <item>
+                    <key> <string>size</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string>Agency</string> </value>
+                </item>
+                <item>
+                    <key> <string>unicode</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>whitespace_preserve</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.TALESField</string>
+          <string>TALESMethod</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python:here.Delivery_getVaultItemList(vault_type = \'site\', current_url = None, user_site = None, leaf_node = 0, strict_membership = 1)</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventory_viewLineFastInputDialog.xml Thu Jun  5 14:54:53 2008
@@ -91,7 +91,7 @@
 else:\n
   letter_list      = [\'not_defined\']\n
   variation_list   = [\'not_defined\']\n
-  cash_status_list = [\'not_defined\']\n
+  cash_status_list = [\'not_defined\', \'valid\']\n
 \n
 cash_detail_dict = {\'line_portal_type\'           : \'Cash Inventory Line\'\n
                     , \'operation_currency\'       : context.getPriceCurrencyId()\n

Modified: erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml Thu Jun  5 14:54:53 2008
@@ -59,6 +59,7 @@
                 <string>Modify portal content</string>
                 <string>Access contents information</string>
                 <string>Add portal content</string>
+                <string>Delete objects</string>
               </tuple>
             </value>
         </item>

Modified: erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml Thu Jun  5 14:54:53 2008
@@ -85,6 +85,14 @@
                     </value>
                 </item>
                 <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
                     <key> <string>Modify portal content</string> </key>
                     <value>
                       <tuple>

Modified: erp5/trunk/bt5/erp5_banking_inventory/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_inventory/bt/revision?rev=21352&r1=21351&r2=21352&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_inventory/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_inventory/bt/revision Thu Jun  5 14:54:53 2008
@@ -1,1 +1,1 @@
-20
+21




More information about the Erp5-report mailing list