LP1190305 Loosen MARC Remove Fields retrieve perms
authorBill Erickson <berick@esilibrary.com>
Wed, 12 Jun 2013 17:38:30 +0000 (13:38 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 11 Jul 2013 15:23:13 +0000 (11:23 -0400)
Allow trash fields to be publicly accessible (if logged in) instead of
requiring one of the edit permissions to view.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/examples/fm_IDL.xml

index 3e26497..cbdd13b 100644 (file)
@@ -227,9 +227,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                                <create permission="CREATE_IMPORT_TRASH_FIELD">
                     <context link="grp" field="owner"/>
                 </create>
-                               <retrieve permission="CREATE_IMPORT_TRASH_FIELD UPDATE_IMPORT_TRASH_FIELD DELETE_IMPORT_TRASH_FIELD">
-                    <context link="grp" field="owner"/>
-                </retrieve>
+                               <retrieve/>
                                <update permission="UPDATE_IMPORT_TRASH_FIELD">
                     <context link="grp" field="owner"/>
                 </update>
@@ -258,7 +256,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
                        <actions>
                                <create permission="CREATE_IMPORT_TRASH_FIELD" context_field="owner"/>
-                               <retrieve permission="CREATE_IMPORT_TRASH_FIELD UPDATE_IMPORT_TRASH_FIELD DELETE_IMPORT_TRASH_FIELD" context_field="owner"/>
+                               <retrieve/>
                                <update permission="UPDATE_IMPORT_TRASH_FIELD" context_field="owner"/>
                                <delete permission="DELETE_IMPORT_TRASH_FIELD" context_field="owner"/>
                        </actions>