Author: adrianc
Date: Sat Dec 1 13:23:38 2007
New Revision: 600197
URL:
http://svn.apache.org/viewvc?rev=600197&view=revLog:
Updated Asset Maint permission SECAs.
Modified:
ofbiz/trunk/specialpurpose/assetmaint/servicedef/secas.xml
Modified: ofbiz/trunk/specialpurpose/assetmaint/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/servicedef/secas.xml?rev=600197&r1=600196&r2=600197&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/servicedef/secas.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/servicedef/secas.xml Sat Dec 1 13:23:38 2007
@@ -32,4 +32,14 @@
<action service="assetMaintPermissionCheck" mode="sync" result-to-result="true"/>
</eca>
+ <eca service="workEffortGenericPermission" event="return" run-on-failure="true">
+ <condition field-name="hasPermission" operator="equals" value="false" type="Boolean"/>
+ <action service="assetMaintPermissionCheck" mode="sync" result-to-result="true"/>
+ </eca>
+
+ <eca service="workEffortGenericPermission" event="return" run-on-failure="true">
+ <condition field-name="hasPermission" operator="equals" value="false" type="Boolean"/>
+ <action service="assetMaintPermissionCheck" mode="sync" result-to-result="true"/>
+ </eca>
+
</service-eca>