LP1928363 Fix PCRUD permission
authorBill Erickson <berickxx@gmail.com>
Thu, 17 Jun 2021 22:06:37 +0000 (18:06 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 20 Sep 2021 19:38:53 +0000 (15:38 -0400)
Was referencing a nonexisting column.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chrisy Schroth <chrisy.schroth@kentonlibrary.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/examples/fm_IDL.xml

index ee7e69e..03319ba 100644 (file)
@@ -10888,7 +10888,9 @@ SELECT  usr,
                </links>
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>
-                               <retrieve permission="STAFF_LOGIN" context_field="circ_lib"/>
+                               <retrieve permission="STAFF_LOGIN">
+                                       <context link="id" field="circ_lib"/>
+                               </retrieve>
                        </actions>
                </permacrud>
        </class>