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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 27 02:00:53 EDT 2008


Author: miker
Date: 2008-03-27 01:25:29 -0400 (Thu, 27 Mar 2008)
New Revision: 9148

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
adding org_unit retrieve checks

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2008-03-27 04:37:08 UTC (rev 9147)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2008-03-27 05:25:29 UTC (rev 9148)
@@ -1740,8 +1740,11 @@
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
             <actions>
                 <create permission="CREATE_ORG_UNIT" context_field="parent_ou"/>
-                <retrieve/>
-                <update permission="UPDATE_ORG_UNIT" context_field="parent_ou"/>
+                <retrieve permission="CREATE_ORG_UNIT|UPDATE_ORG_UNIT|DELETE_ORG_UNIT">
+                    <context field="id"/>
+                    <context field="parent_ou"/>
+				</retrieve>
+                <update permission="UPDATE_ORG_UNIT" context_field="id"/>
                 <delete permission="DELETE_ORG_UNIT" context_field="parent_ou"/>
             </actions>
         </permacrud>



More information about the open-ils-commits mailing list