[open-ils-commits] r12430 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 5 15:48:11 EST 2009
Author: erickson
Date: 2009-03-05 15:48:07 -0500 (Thu, 05 Mar 2009)
New Revision: 12430
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
pcrud for max and recuring fine rules
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-03-05 19:24:30 UTC (rev 12429)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-03-05 20:48:07 UTC (rev 12430)
@@ -3327,7 +3327,7 @@
<link field="field" reltype="has_a" key="id" map="" class="cmf"/>
</links>
</class>
- <class id="crrf" controller="open-ils.cstore" oils_obj:fieldmapper="config::rules::recuring_fine" oils_persist:tablename="config.rule_recuring_fine">
+ <class id="crrf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::recuring_fine" oils_persist:tablename="config.rule_recuring_fine">
<fields oils_persist:primary="id" oils_persist:sequence="config.rule_recuring_fine_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" />
@@ -3340,6 +3340,14 @@
<field name="recurance_interval" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="interval"/>
</fields>
<links/>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_RECURING_FINE_RULE" global_required="true"/>
+ <retrieve/>
+ <update permission="ADMIN_RECURING_FINE_RULE" global_required="true"/>
+ <delete permission="ADMIN_RECURING_FINE_RULE" global_required="true"/>
+ </actions>
+ </permacrud>
</class>
<class id="mckp" controller="open-ils.cstore" oils_obj:fieldmapper="money::check_payment" oils_persist:tablename="money.check_payment" reporter:label="Check Payment">
<fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
@@ -3454,7 +3462,7 @@
</actions>
</permacrud>
</class>
- <class id="crmf" controller="open-ils.cstore" oils_obj:fieldmapper="config::rules::max_fine" oils_persist:tablename="config.rule_max_fine" reporter:label="Max Fine Rule">
+ <class id="crmf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::max_fine" oils_persist:tablename="config.rule_max_fine" reporter:label="Max Fine Rule">
<fields oils_persist:primary="id" oils_persist:sequence="config.rule_max_fine_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" />
@@ -3465,6 +3473,14 @@
<field reporter:label="Is Percent" name="is_percent" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="bool"/>
</fields>
<links/>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
+ <retrieve/>
+ <update permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
+ <delete permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
+ </actions>
+ </permacrud>
</class>
<class id="pgt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="permission::grp_tree" oils_persist:tablename="permission.grp_tree" reporter:label="Permission Group">
<fields oils_persist:primary="id" oils_persist:sequence="permission.grp_tree_id_seq">
More information about the open-ils-commits
mailing list