[open-ils-commits] r12338 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Mar 1 20:22:21 EST 2009
Author: erickson
Date: 2009-03-01 20:22:20 -0500 (Sun, 01 Mar 2009)
New Revision: 12338
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
pcrud entries for trigger environment
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-03-01 21:20:49 UTC (rev 12337)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-03-02 01:22:20 UTC (rev 12338)
@@ -669,7 +669,7 @@
</permacrud>
</class>
- <class id="atenv" controller="open-ils.cstore" oils_obj:fieldmapper="action_trigger::environment" oils_persist:tablename="action_trigger.environment" reporter:label="Trigger Event Environment Entry">
+ <class id="atenv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::environment" oils_persist:tablename="action_trigger.environment" reporter:label="Trigger Event Environment Entry">
<fields oils_persist:primary="id" oils_persist:sequence="action_trigger.environment_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" />
@@ -684,6 +684,22 @@
<link field="event_def" reltype="has_a" key="id" map="" class="atevdef"/>
<link field="collector" reltype="has_a" key="id" map="" class="atcol"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </create>
+ <retrieve permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </retrieve>
+ <update permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </update>
+ <delete permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </delete>
+ </actions>
+ </permacrud>
</class>
<class id="atevdef" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::event_definition" oils_persist:tablename="action_trigger.event_definition" reporter:label="Trigger Event Definition">
More information about the open-ils-commits
mailing list