LP#1463590 Loosen read access to distribution formulas user/berick/lp1463590-dist-form-pcrud-read-perms
authorBill Erickson <berickxx@gmail.com>
Tue, 9 Jun 2015 21:59:42 +0000 (17:59 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 9 Jun 2015 22:05:11 +0000 (18:05 -0400)
Make it possible for ACQ staff that have the CREATE_PURCHASE_ORDER
permission to view distribution formulas (via PCRUD) , making it
possible to use them from the PO batch update operation.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/fm_IDL.xml

index 2719924..420b7db 100644 (file)
@@ -9046,7 +9046,7 @@ SELECT  usr,
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>
                                <create permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
-                               <retrieve permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
+                               <retrieve permission="CREATE_PURCHASE_ORDER ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
                                <update permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
                                <delete permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
                        </actions>