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

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 30 16:38:51 EST 2009


Author: miker
Date: 2009-01-30 16:38:47 -0500 (Fri, 30 Jan 2009)
New Revision: 12018

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
asva needs the jump attribute to from question to survey to owner

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2009-01-30 21:37:59 UTC (rev 12017)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2009-01-30 21:38:47 UTC (rev 12018)
@@ -3307,6 +3307,20 @@
 			<link field="question" reltype="has_a" key="id" map="" class="asvq"/>
 			<link field="responses" reltype="has_many" key="answer" map="" class="asvr"/>
 		</links>
+        <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="ADMIN_SURVEY">
+                    <context link="question" jump="survey" field="owner"/>
+                </create>
+                <retrieve/>
+                <update permission="ADMIN_SURVEY">
+                    <context link="question" jump="survey" field="owner"/>
+                </update>
+                <delete permission="ADMIN_SURVEY">
+                    <context link="question" jump="survey" field="owner"/>
+                </delete>
+            </actions>
+        </permacrud>
 	</class>
 	<class id="ancc" controller="open-ils.cstore" oils_obj:fieldmapper="action::non_cataloged_circulation" oils_persist:tablename="action.non_cataloged_circulation" reporter:core="true" reporter:label="Non-cataloged Circulation">
 		<fields oils_persist:primary="id" oils_persist:sequence="action.non_cataloged_circulation_id_seq">



More information about the open-ils-commits mailing list