[open-ils-commits] r11705 - trunk/Open-ILS/examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 30 10:38:29 EST 2008
Author: erickson
Date: 2008-12-30 10:38:27 -0500 (Tue, 30 Dec 2008)
New Revision: 11705
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
added p[erma]crud entries for age protect rules
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2008-12-30 14:20:17 UTC (rev 11704)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2008-12-30 15:38:27 UTC (rev 11705)
@@ -3058,7 +3058,7 @@
</actions>
</permacrud>
</class>
- <class id="crahp" controller="open-ils.cstore" oils_obj:fieldmapper="config::rules::age_hold_protect" oils_persist:tablename="config.rule_age_hold_protect" reporter:label="Age Hold Protection Rule">
+ <class id="crahp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::age_hold_protect" oils_persist:tablename="config.rule_age_hold_protect" reporter:label="Age Hold Protection Rule">
<fields oils_persist:primary="id" oils_persist:sequence="config.rule_age_hold_protect_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" />
@@ -3069,6 +3069,14 @@
<field reporter:label="Allowed Proximity" name="prox" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="int" />
</fields>
<links/>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
+ <retrieve/>
+ <update permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
+ <delete permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
+ </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">
<fields oils_persist:primary="id" oils_persist:sequence="config.rule_max_fine_id_seq">
More information about the open-ils-commits
mailing list