You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/10/22 11:19:28 UTC

svn commit: r1766183 - /ofbiz/trunk/applications/content/servicedef/services.xml

Author: jleroux
Date: Sat Oct 22 11:19:28 2016
New Revision: 1766183

URL: http://svn.apache.org/viewvc?rev=1766183&view=rev
Log:
Fixed: Updating Party Content Image does not work
(OFBIZ-8458) (OFBIZ-8347)

Actually it was a regression introduced by r1765499 for a ticket which did not
exist.

This also fixes OFBIZ-8347 for a typo (UPDATE permission instead of DELETE)

Modified:
    ofbiz/trunk/applications/content/servicedef/services.xml

Modified: ofbiz/trunk/applications/content/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services.xml?rev=1766183&r1=1766182&r2=1766183&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services.xml Sat Oct 22 11:19:28 2016
@@ -120,9 +120,12 @@
     <!-- DataResourceRole services -->
     <service name="createDataResourceRole" engine="entity-auto" default-entity-name="DataResourceRole" auth="true" invoke="create">
         <description>Create a DataResourceRole</description>
-        <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/>
-        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <attribute name="dataResourceId" mode="IN" type="String"/>
+        <attribute name="partyId" mode="IN" type="String"/>
+        <attribute name="roleTypeId" mode="IN" type="String"/>
+        <attribute name="fromDate" mode="INOUT" type="Timestamp" optional="true"/>
     </service>
     <service name="updateDataResourceRole" engine="entity-auto" default-entity-name="DataResourceRole" auth="true" invoke="update">
         <description>Update a DataResourceRole</description>
@@ -132,7 +135,7 @@
     </service>
     <service name="removeDataResourceRole" engine="entity-auto" default-entity-name="DataResourceRole" auth="true" invoke="delete">
         <description>Remove DataResourceRole</description>
-        <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/>
+        <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>