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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Mar 11 09:12:14 EDT 2008


Author: miker
Date: 2008-03-11 08:39:02 -0400 (Tue, 11 Mar 2008)
New Revision: 8960

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
   trunk/Open-ILS/examples/permacrud.xsd
Log:
permacrud for config.metabib_field

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2008-03-11 12:26:58 UTC (rev 8959)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2008-03-11 12:39:02 UTC (rev 8960)
@@ -1,4 +1,4 @@
-<IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistence/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1" xmlns:reporter="http://open-ils.org/spec/opensrf/IDL/reporter/v1">
+<IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistence/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1" xmlns:reporter="http://open-ils.org/spec/opensrf/IDL/reporter/v1" xmlns:permacrud="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
 
 	<!-- Virtual classes -->
 	<class id="mups" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_payment_summary" oils_persist:virtual="true">
@@ -602,6 +602,14 @@
 			<field name="facet_field" oils_obj:array_position="10" oils_persist:virtual="false" reporter:datatype="bool" />
 		</fields>
 		<links/>
+        <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="CREATE_METABIB_FIELD" global_required="true"/>
+                <retrieve/>
+                <update permission="UPDATE_METABIB_FIELD" global_required="true"/>
+                <delete permission="DELETE_METABIB_FIELD" global_required="true"/>
+            </actions>
+        </permacrud>
 	</class>
 	<class id="cam" controller="open-ils.cstore" oils_obj:fieldmapper="config::audience_map" oils_persist:tablename="config.audience_map" reporter:label="Audience Map">
 		<fields oils_persist:primary="code" oils_persist:sequence="">

Modified: trunk/Open-ILS/examples/permacrud.xsd
===================================================================
--- trunk/Open-ILS/examples/permacrud.xsd	2008-03-11 12:26:58 UTC (rev 8959)
+++ trunk/Open-ILS/examples/permacrud.xsd	2008-03-11 12:39:02 UTC (rev 8960)
@@ -35,6 +35,7 @@
  <xs:complexType>
   <xs:attribute name="link"/>
   <xs:attribute name="field"/>
+  <xs:attribute name="global_requried"/>
  </xs:complexType>
 </xs:element>
 
@@ -46,6 +47,7 @@
   <xs:attribute name="permission" use="required"/>
   <xs:attribute name="context_field"/>
  </xs:complexType>
+ <xs:attribute name="global_requried"/>
 </xs:element>
 
 <xs:element name="retrieve" nillable="true">
@@ -56,6 +58,7 @@
   <xs:attribute name="permission"/>
   <xs:attribute name="context_field"/>
  </xs:complexType>
+ <xs:attribute name="global_requried"/>
 </xs:element>
 
 <xs:element name="update" nillable="true">
@@ -66,6 +69,7 @@
   <xs:attribute name="permission" use="required"/>
   <xs:attribute name="context_field"/>
  </xs:complexType>
+ <xs:attribute name="global_requried"/>
 </xs:element>
 
 <xs:element name="delete" nillable="true">
@@ -76,6 +80,7 @@
   <xs:attribute name="permission" use="required"/>
   <xs:attribute name="context_field"/>
  </xs:complexType>
+ <xs:attribute name="global_requried"/>
 </xs:element>
 
 <xs:element name="actions">



More information about the open-ils-commits mailing list