[open-ils-commits] r12629 - trunk/Open-ILS/examples (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 20 11:39:12 EDT 2009
Author: scottmk
Date: 2009-03-20 11:39:10 -0400 (Fri, 20 Mar 2009)
New Revision: 12629
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
Add <permacrud> entries for "acqdf" and "acqdfe" classes.
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-03-20 15:21:15 UTC (rev 12628)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-03-20 15:39:10 UTC (rev 12629)
@@ -5444,6 +5444,14 @@
<link field="owner" reltype="has_a" key="id" map="" class="aou"/>
<link field="entries" reltype="has_many" key="formula" map="" class="acqdfe"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
+ <retrieve permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
+ <update permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
+ <delete permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
+ </actions>
+ </permacrud>
</class>
<class id="acqdfe" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::distribution_formula_entry" oils_persist:tablename="acq.distribution_formula_entry">
<fields oils_persist:primary="id">
@@ -5462,6 +5470,22 @@
<link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
<link field="location" reltype="has_a" key="id" map="" class="acpl"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_ACQ_DISTRIB_FORMULA">
+ <context link="formula" field="owner"/>
+ </create>
+ <retrieve permission="ADMIN_ACQ_DISTRIB_FORMULA">
+ <context link="formula" field="owner"/>
+ </retrieve>
+ <update permission="ADMIN_ACQ_DISTRIB_FORMULA">
+ <context link="formula" field="owner"/>
+ </update>
+ <delete permission="ADMIN_ACQ_DISTRIB_FORMULA">
+ <context link="formula" field="owner"/>
+ </delete>
+ </actions>
+ </permacrud>
</class>
More information about the open-ils-commits
mailing list