svn commit: r1767792 - /ofbiz/trunk/applications/workeffort/servicedef/services.xml

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

svn commit: r1767792 - /ofbiz/trunk/applications/workeffort/servicedef/services.xml

jleroux@apache.org
Author: jleroux
Date: Wed Nov  2 22:08:11 2016
New Revision: 1767792

URL: http://svn.apache.org/viewvc?rev=1767792&view=rev
Log:
Improves: Convert WorkEffortContent entity CRUD service to entity-auto
(OFBIZ-8666)

Adds a DELETE permission to deleteWorkEffortContent service implementation to be
consistent with create and update.

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

Modified: ofbiz/trunk/applications/workeffort/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/servicedef/services.xml?rev=1767792&r1=1767791&r2=1767792&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/workeffort/servicedef/services.xml Wed Nov  2 22:08:11 2016
@@ -573,6 +573,7 @@ under the License.
     </service>
     <service name="deleteWorkEffortContent" engine="entity-auto" invoke="delete" default-entity-name="WorkEffortContent" auth="true">
         <description>Delete a Work Effort Content</description>
+        <permission-service service-name="workEffortGenericPermission" main-action="DELETE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>