Author: jacopoc
Date: Tue Sep 25 06:29:01 2007
New Revision: 579241
URL:
http://svn.apache.org/viewvc?rev=579241&view=revLog:
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/>