You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/09/25 15:29:01 UTC

svn commit: r579241 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml

Author: jacopoc
Date: Tue Sep 25 06:29:01 2007
New Revision: 579241

URL: http://svn.apache.org/viewvc?rev=579241&view=rev
Log:
Fixed permission check (from CREATE to UPDATE) since the service is called when the order is updated.

Modified:
    ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=579241&r1=579240&r2=579241&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Tue Sep 25 06:29:01 2007
@@ -548,7 +548,7 @@
     </simple-method>
 
     <simple-method method-name="recreateOrderAdjustments" short-description="Auto create OrderAdjustments">
-        <check-permission permission="ORDERMGR" action="_CREATE">
+        <check-permission permission="ORDERMGR" action="_UPDATE">
             <fail-property resource="OrderErrorUiLabels" property="OrderSecurityErrorToRunAutoCreateOrderAdjustments"/>
         </check-permission>
         <check-errors/>