svn commit: r500272 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r500272 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

sichen
Author: sichen
Date: Fri Jan 26 08:03:42 2007
New Revision: 500272

URL: http://svn.apache.org/viewvc?view=rev&rev=500272
Log:
Fix issue where createPayment service said it uses PAY_INFO_CREATE but was actually looking for PAY_INFO_UPDATE permission

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?view=diff&rev=500272&r1=500271&r2=500272
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Fri Jan 26 08:03:42 2007
@@ -24,7 +24,7 @@
         <if>
             <condition>
                 <and>
-                    <not><if-has-permission permission="PAY_INFO" action="_UPDATE"/></not>
+                    <not><if-has-permission permission="PAY_INFO" action="_CREATE"/></not>
                     <not><if-compare-field field-name="partyId" map-name="userLogin" operator="equals" to-field-name="partyIdFrom" to-map-name="parameters"/></not>
                     <not><if-compare-field field-name="partyId" map-name="userLogin" operator="equals" to-field-name="partyIdTo" to-map-name="parameters"/></not>
                 </and>