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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 27 21:37:11 EDT 2008


Author: miker
Date: 2008-03-27 21:01:40 -0400 (Thu, 27 Mar 2008)
New Revision: 9152

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
adding permission group tree to permacrud

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2008-03-27 06:16:41 UTC (rev 9151)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2008-03-28 01:01:40 UTC (rev 9152)
@@ -2331,6 +2331,14 @@
 			<link field="parent" reltype="has_a" key="id" map="" class="pgt"/>
 			<link field="children" reltype="has_many" key="parent" map="" class="pgt"/>
 		</links>
+        <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="CREATE_PERM" global_required="true"/>
+                <retrieve permission="CREATE_PERM|UPDATE_PERM|DELETE_PERM" global_required="true"/>
+                <update permission="UPDATE_PERM" global_required="true"/>
+                <delete permission="DELETE_PERM" global_required="true"/>
+            </actions>
+        </permacrud>
 	</class>
 	<class id="asva" controller="open-ils.cstore" oils_obj:fieldmapper="action::survey_answer" oils_persist:tablename="action.survey_answer" reporter:label="Survey Answer">
 		<fields oils_persist:primary="id" oils_persist:sequence="action.survey_answer_id_seq">



More information about the open-ils-commits mailing list