correct stat cat perms
authorJason Etheridge <jason@EquinoxOLI.org>
Fri, 28 Oct 2022 17:13:09 +0000 (13:13 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Wed, 7 Dec 2022 15:11:23 +0000 (10:11 -0500)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/examples/fm_IDL.xml

index 1d00f0f..70f7c3d 100644 (file)
@@ -7406,7 +7406,10 @@ SELECT  usr,
                </links>
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>
+                               <create permission="CREATE_COPY_STAT_CAT" context_field="owner"/>
                                <retrieve permission="STAFF_LOGIN" global_required="true"/>
+                               <update permission="UPDATE_COPY_STAT_CAT" context_field="owner"/>
+                               <delete permission="DELETE_COPY_STAT_CAT" context_field="owner"/>
                        </actions>
                </permacrud>
        </class>
@@ -8872,7 +8875,16 @@ SELECT  usr,
                </links>
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>
+                               <create permission="CREATE_COPY_STAT_CAT_ENTRY">
+                                       <context link="stat_cat" field="owner"/>
+                               </create>
                                <retrieve permission="STAFF_LOGIN" global_required="true"/>
+                               <update permission="UPDATE_COPY_STAT_CAT_ENTRY">
+                                       <context link="stat_cat" field="owner"/>
+                               </update>
+                               <delete permission="DELETE_COPY_STAT_CAT_ENTRY">
+                                       <context link="stat_cat" field="owner"/>
+                               </delete>
                        </actions>
                </permacrud>
        </class>