[open-ils-commits] r11719 - trunk/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Dec 31 16:14:30 EST 2008


Author: erickson
Date: 2008-12-31 16:14:26 -0500 (Wed, 31 Dec 2008)
New Revision: 11719

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
added p[erma]crud entries for hold-matrix-matchpoint

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2008-12-31 00:52:55 UTC (rev 11718)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2008-12-31 21:14:26 UTC (rev 11719)
@@ -711,7 +711,7 @@
         </permacrud>
 	</class>
 
-	<class id="chmm" controller="open-ils.cstore" oils_obj:fieldmapper="config::hold_matrix_matchpoint" oils_persist:tablename="config.hold_matrix_matchpoint" reporter:label="Hold Matrix Matchpoint">
+	<class id="chmm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::hold_matrix_matchpoint" oils_persist:tablename="config.hold_matrix_matchpoint" reporter:label="Hold Matrix Matchpoint">
 		<fields oils_persist:primary="id" oils_persist:sequence="config.hold_matrix_matchpoint_id_seq">
 			<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
 			<field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
@@ -752,6 +752,14 @@
 			<link field="marc_vr_format" reltype="has_a" key="code" map="" class="cvrfm"/>
 			<link field="age_hold_protect_rule" reltype="has_a" key="id" map="" class="crahp"/>
 		</links>
+        <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
+                <retrieve permission="ADMIN_HOLD_MATRIX_MATCHPOINT VIEW_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
+                <update permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
+                <delete permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
+            </actions>
+        </permacrud>
 	</class>
 
 	<class id="ccmm" controller="open-ils.cstore" oils_obj:fieldmapper="config::circ_matrix_matchpoint" oils_persist:tablename="config.circ_matrix_matchpoint" reporter:label="Circulation Matrix Matchpoint">



More information about the open-ils-commits mailing list