From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 13 Apr 2010 14:07:06 +0000 (+0000)
Subject: added pcrud perms for invoice payment method
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a5f12e6020cf8b7e83b1724e53c2ce35ae3f6ee9;p=evergreen%2Fpines.git

added pcrud perms for invoice payment method

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16223 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index 918afa5763..64a8636625 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -4619,10 +4619,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
 	<class id="acqipm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_payment_method" oils_persist:tablename="acq.invoice_payment_method" reporter:label="Invoice Payment Method">
 		<fields oils_persist:primary="code">
-			<field reporter:label="Code" name="code" reporter:datatype="id"/>
+			<field reporter:label="Code" name="code" reporter:datatype="id" reporter:selector="name"/>
 			<field reporter:label="Name" name="name" reporter:datatype="text"/>
 		</fields>
 		<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
+                <retrieve/>
+                <update permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
+                <delete permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
+            </actions>
 		</permacrud>
 	</class>