[open-ils-commits] r16069 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 31 09:58:47 EDT 2010
Author: erickson
Date: 2010-03-31 09:58:45 -0400 (Wed, 31 Mar 2010)
New Revision: 16069
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
added pcrud entries for claim_policy and claim_policy_action
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2010-03-31 13:31:28 UTC (rev 16068)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2010-03-31 13:58:45 UTC (rev 16069)
@@ -6180,7 +6180,7 @@
<class id="acqclp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::claim_policy" oils_persist:tablename="acq.claim_policy" reporter:label="Claim Policy">
<fields oils_persist:primary="id" oils_persist:sequence="acq.claim_policy_id_seq">
- <field reporter:label="ID" name="id" reporter:datatype="id"/>
+ <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
<field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
<field reporter:label="Claim Policy Name" name="name" reporter:datatype="text"/>
<field reporter:label="Description" name="description" reporter:datatype="text"/>
@@ -6189,12 +6189,18 @@
<link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
+ <retrieve permission="ADMIN_CLAIM_POLICY VIEW_PROVIDER" context_field="org_unit"/>
+ <update permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
+ <delete permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
+ </actions>
</permacrud>
</class>
<class id="acqclpa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::claim_policy_action" oils_persist:tablename="acq.claim_policy_action" reporter:label="Claim Policy Action">
<fields oils_persist:primary="id" oils_persist:sequence="acq.claim_policy_action_id_seq">
- <field reporter:label="ID" name="id" reporter:datatype="id"/>
+ <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="action"/>
<field reporter:label="Claim Policy ID" name="claim_policy" reporter:datatype="link"/>
<field reporter:label="Action Interval" name="action_interval" reporter:datatype="interval"/>
<field reporter:label="Action" name="action" reporter:datatype="link"/>
@@ -6204,6 +6210,20 @@
<link field="action" reltype="has_a" key="id" map="" class="acqclet"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_CLAIM_POLICY">
+ <context link="claim_policy" field="org_unit"/>
+ </create>
+ <retrieve permission="ADMIN_CLAIM_POLICY VIEW_PROVIDER">
+ <context link="claim_policy" field="org_unit"/>
+ </retrieve>
+ <update permission="ADMIN_CLAIM_POLICY">
+ <context link="claim_policy" field="org_unit"/>
+ </update>
+ <delete permission="ADMIN_CLAIM_POLICY">
+ <context link="claim_policy" field="org_unit"/>
+ </delete>
+ </actions>
</permacrud>
</class>
More information about the open-ils-commits
mailing list