[open-ils-commits] r15174 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 16 11:47:17 EST 2009
Author: erickson
Date: 2009-12-16 11:47:14 -0500 (Wed, 16 Dec 2009)
New Revision: 15174
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
added pcrud entries for money.usr_summary
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-12-16 07:48:10 UTC (rev 15173)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-12-16 16:47:14 UTC (rev 15174)
@@ -3442,7 +3442,7 @@
<link field="item" reltype="has_a" key="id" map="" class="cubi"/>
</links>
</class>
- <class id="mus" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_summary" oils_persist:tablename="money.usr_summary" reporter:label="User Summary">
+ <class id="mus" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::user_summary" oils_persist:tablename="money.usr_summary" reporter:label="User Summary">
<fields oils_persist:primary="usr" oils_persist:sequence="">
<field name="balance_owed" reporter:datatype="money" />
<field name="total_owed" reporter:datatype="money" />
@@ -3452,6 +3452,13 @@
<links>
<link field="usr" reltype="has_a" key="id" map="" class="au"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <retrieve permission="VIEW_USER">
+ <context link="usr" field="home_ou"/>
+ </retrieve>
+ </actions>
+ </permacrud>
</class>
<class id="clfm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::lit_form_map" oils_persist:tablename="config.lit_form_map" reporter:label="Literary Form" oils_persist:field_safe="true">
<fields oils_persist:primary="code" oils_persist:sequence="">
More information about the open-ils-commits
mailing list