[open-ils-commits] r12169 - trunk/Open-ILS/examples (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 13 09:19:04 EST 2009


Author: erickson
Date: 2009-02-13 09:19:03 -0500 (Fri, 13 Feb 2009)
New Revision: 12169

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
pcrud for action_trigger.cleanup

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2009-02-13 05:15:26 UTC (rev 12168)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2009-02-13 14:19:03 UTC (rev 12169)
@@ -650,7 +650,7 @@
 		</permacrud>
 	</class>
 
-	<class id="atclean" controller="open-ils.cstore" oils_obj:fieldmapper="action_trigger::cleanup" oils_persist:tablename="action_trigger.cleanup" reporter:label="Trigger Event Cleanup">
+	<class id="atclean" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::cleanup" oils_persist:tablename="action_trigger.cleanup" reporter:label="Trigger Event Cleanup">
 		<fields oils_persist:primary="module">
 			<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
 			<field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
@@ -659,6 +659,14 @@
 			<field reporter:label="Description" name="description" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="text" oils_persist:i18n="true"/>
 		</fields>
 		<links/>
+		<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+			<actions>
+				<create permission="ADMIN_TRIGGER_CLEANUP" global_required="true"/>
+				<retrieve/>
+				<update permission="ADMIN_TRIGGER_CLEANUP" global_required="true"/>
+				<delete permission="ADMIN_TRIGGER_CLEANUP" global_required="true"/>
+			</actions>
+		</permacrud>
 	</class>
 
 	<class id="atenv" controller="open-ils.cstore" oils_obj:fieldmapper="action_trigger::environment" oils_persist:tablename="action_trigger.environment" reporter:label="Trigger Event Environment Entry">



More information about the open-ils-commits mailing list