Author: adrianc
Date: Mon Jul 6 21:52:10 2009
New Revision: 791624
URL:
http://svn.apache.org/viewvc?rev=791624&view=revLog:
Changed the updatePerson service back to using the permission service.
Modified:
ofbiz/trunk/applications/party/servicedef/services.xml
Modified: ofbiz/trunk/applications/party/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?rev=791624&r1=791623&r2=791624&view=diff==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/party/servicedef/services.xml Mon Jul 6 21:52:10 2009
@@ -93,10 +93,10 @@
<service name="updatePerson" engine="java" default-entity-name="Person"
location="org.ofbiz.party.party.PartyServices" invoke="updatePerson" auth="true">
<description>Update a Person</description>
- <required-permissions join-type="AND">
+<!-- <required-permissions join-type="AND">
<check-permission permission="update:party:${partyId}"/>
- </required-permissions>
- <!-- <permission-service service-name="partyGroupPermissionCheck" main-action="UPDATE"/> -->
+ </required-permissions> -->
+ <permission-service service-name="partyGroupPermissionCheck" main-action="UPDATE"/>
<auto-attributes mode="IN" include="pk" optional="true"><!-- if no partyId specified will use userLogin.partyId --></auto-attributes>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
<attribute name="preferredCurrencyUomId" type="String" mode="IN" optional="true"/>