svn commit: r1164839 - /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: r1164839 - /ofbiz/trunk/applications/workeffort/servicedef/services.xml

adrianc
Author: adrianc
Date: Sat Sep  3 09:46:36 2011
New Revision: 1164839

URL: http://svn.apache.org/viewvc?rev=1164839&view=rev
Log:
Oops, I forgot to add a permission check in my last commit.

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=1164839&r1=1164838&r2=1164839&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/workeffort/servicedef/services.xml Sat Sep  3 09:46:36 2011
@@ -89,6 +89,7 @@ under the License.
     <service name="copyWorkEffort" engine="simple" auth="true" transaction-timeout="300"
             location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="copyWorkEffort">
         <description>Copies an existing WorkEffort to a new WorkEffort.</description>
+        <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
         <attribute name="sourceWorkEffortId" mode="IN" type="String" optional="false">
             <description>The ID of the WorkEffort to copy from.</description>
         </attribute>
@@ -332,6 +333,7 @@ under the License.
     <service name="copyWorkEffortAssocs" engine="simple" auth="true" transaction-timeout="300"
             location="component://workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="copyWorkEffortAssocs">
         <description>Copies WorkEffortAssocs from one WorkEffort to another WorkEffort. Only child WorkEffort associations will be copied.</description>
+        <permission-service service-name="workEffortGenericPermission" main-action="CREATE"/>
         <attribute name="sourceWorkEffortId" mode="IN" type="String" optional="false">
             <description>The ID of the WorkEffort to copy the associations from.</description>
         </attribute>