[Erp5-report] r30242 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 3 11:13:42 CET 2009


Author: kazuhiko
Date: Tue Nov  3 11:13:40 2009
New Revision: 30242

URL: http://svn.erp5.org?rev=30242&view=rev
Log:
revert r30216 because security should not be considered for Inventory API by default. we will introduce check_permission=False argument in all Inventory APIs later.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml?rev=30242&r1=30241&r2=30242&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml [utf8] Tue Nov  3 11:13:40 2009
@@ -647,7 +647,6 @@
             <key> <string>src</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-<dtml-let query="portal_catalog.buildSQLQuery(query=portal_catalog.getSecurityQuery())">\n
 SET @running_total_quantity := <dtml-var initial_running_total_quantity>,\n
     @running_total_price := <dtml-var initial_running_total_price>;\n
 <dtml-var sql_delimiter>\n
@@ -683,11 +682,6 @@
   section.relative_url AS section_relative_url\n
 \n
 FROM\n
-  <dtml-in prefix="table" expr="query[\'from_table_list\']">\n
-    <dtml-if "table_key not in (\'stock\', \'catalog\')">\n
-      <dtml-var table_item> AS <dtml-var table_key>,\n
-    </dtml-if>\n
-  </dtml-in>\n
   stock\n
   <dtml-if section_filtered> INNER <dtml-else> LEFT </dtml-if>  \n
         JOIN catalog AS section ON (section.uid = stock.section_uid)\n
@@ -702,9 +696,6 @@
 \n
 WHERE\n
   1 = 1\n
-<dtml-if "query[\'where_expression\']">\n
-  AND <dtml-var "query[\'where_expression\']">\n
-</dtml-if>\n
 <dtml-if where_expression>\n
   AND <dtml-var where_expression>\n
 </dtml-if>\n
@@ -782,7 +773,7 @@
 </dtml-if>\n
 \n
 ) AS q1\n
-</dtml-let>
+
 
 ]]></string> </value>
         </item>
@@ -822,7 +813,6 @@
                         <key> <string>raw</string> </key>
                         <value> <string encoding="cdata"><![CDATA[
 
-<dtml-let query="portal_catalog.buildSQLQuery(query=portal_catalog.getSecurityQuery())">\n
 SET @running_total_quantity := <dtml-var initial_running_total_quantity>,\n
     @running_total_price := <dtml-var initial_running_total_price>;\n
 <dtml-var sql_delimiter>\n
@@ -858,11 +848,6 @@
   section.relative_url AS section_relative_url\n
 \n
 FROM\n
-  <dtml-in prefix="table" expr="query[\'from_table_list\']">\n
-    <dtml-if "table_key not in (\'stock\', \'catalog\')">\n
-      <dtml-var table_item> AS <dtml-var table_key>,\n
-    </dtml-if>\n
-  </dtml-in>\n
   stock\n
   <dtml-if section_filtered> INNER <dtml-else> LEFT </dtml-if>  \n
         JOIN catalog AS section ON (section.uid = stock.section_uid)\n
@@ -877,9 +862,6 @@
 \n
 WHERE\n
   1 = 1\n
-<dtml-if "query[\'where_expression\']">\n
-  AND <dtml-var "query[\'where_expression\']">\n
-</dtml-if>\n
 <dtml-if where_expression>\n
   AND <dtml-var where_expression>\n
 </dtml-if>\n
@@ -957,7 +939,7 @@
 </dtml-if>\n
 \n
 ) AS q1\n
-</dtml-let>
+
 
 ]]></string> </value>
                     </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=30242&r1=30241&r2=30242&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Tue Nov  3 11:13:40 2009
@@ -1,1 +1,1 @@
-1357
+1358




More information about the Erp5-report mailing list