[open-ils-commits] r9159 - trunk/Open-ILS/examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Mar 29 00:57:37 EDT 2008
Author: miker
Date: 2008-03-29 00:21:56 -0400 (Sat, 29 Mar 2008)
New Revision: 9159
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
add cross-checks for perm creation; add perm assignment checks
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2008-03-28 16:15:42 UTC (rev 9158)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2008-03-29 04:21:56 UTC (rev 9159)
@@ -1139,7 +1139,7 @@
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
<create permission="CREATE_PERM" global_required="true"/>
- <retrieve/>
+ <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>
@@ -2450,6 +2450,14 @@
<link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
<link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ASSIGN_GROUP_PERM" global_required="true"/>
+ <retrieve permission="ASSIGN_GROUP_PERM|UPDATE_GROUP_PERM|REMOVE_GROUP_PERM" global_required="true"/>
+ <update permission="UPDATE_GROUP_PERM" global_required="true"/>
+ <delete permission="REMOVE_GROUP_PERM" global_required="true"/>
+ </actions>
+ </permacrud>
</class>
<class id="ccb" controller="open-ils.cstore" oils_obj:fieldmapper="container::copy_bucket" oils_persist:tablename="container.copy_bucket">
<fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_id_seq">
More information about the open-ils-commits
mailing list