adding org types to permacrud
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Mar 2008 02:29:20 +0000 (02:29 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Mar 2008 02:29:20 +0000 (02:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9141 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xml

index 3deec58..adf749b 100644 (file)
                        <link field="children" reltype="has_many" key="parent" map="" class="aout"/>
                        <link field="org_units" reltype="has_many" key="ou_type" map="" class="aou"/>
                </links>
                        <link field="children" reltype="has_many" key="parent" map="" class="aout"/>
                        <link field="org_units" reltype="has_many" key="ou_type" map="" class="aou"/>
                </links>
+        <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="CREATE_ORG_TYPE" global_required="true"/>
+                <retrieve/>
+                <update permission="UPDATE_ORG_TYPE" global_required="true"/>
+                <delete permission="DELETE_ORG_TYPE" global_required="true"/>
+            </actions>
+        </permacrud>
        </class>
        <class id="bren" controller="open-ils.cstore" oils_obj:fieldmapper="biblio::record_note" oils_persist:tablename="biblio.record_note">
                <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_note_id_seq">
        </class>
        <class id="bren" controller="open-ils.cstore" oils_obj:fieldmapper="biblio::record_note" oils_persist:tablename="biblio.record_note">
                <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_note_id_seq">