From 3f7f974cd20487149f4caa9b80d117e2cb640a2b Mon Sep 17 00:00:00 2001 From: pzed Date: Wed, 19 Aug 2009 20:03:27 +0000 Subject: [PATCH] patron profile test now includes all circ modifiers git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@627 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- circ/circ_permit_copy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/circ/circ_permit_copy.js b/circ/circ_permit_copy.js index cbc3e17619..1968af393c 100644 --- a/circ/circ_permit_copy.js +++ b/circ/circ_permit_copy.js @@ -51,12 +51,13 @@ if( ! isTrue(copy.circulate) || // set permissions for Windsor Leddy if (copy.circ_lib.shortname == 'OWA') { - // permit circulations for the following circ modifiers to all patrons var valid_patrons = ['Faculty', 'Graduate', 'Undergraduate', 'Staff members', 'Readers']; - var circ_allow_list = ['CIRC', 'CRC MEDIA', 'CRC SPEC', 'CRC TEXT', 'DOC', 'DVD VIDEO', 'MAP (CIRCULATING)', 'MEDIA', 'MFORM', 'REF', 'THESIS']; if (isValidPatron(patronProfile, valid_patrons)) { + // permit circulations for the following circ modifiers to all patrons + var circ_allow_list = ['CIRC', 'CRC MEDIA', 'CRC SPEC', 'CRC TEXT', 'DOC', 'DVD VIDEO', 'MAP (CIRCULATING)', 'MEDIA', 'MFORM', 'REF', 'THESIS']; + // add permissions for patron groups who are not external borrowers if (patronProfile == 'Faculty' || patronProfile == 'Graduate' || patronProfile == 'Undergraduate' || patronProfile == 'Staff members') { circ_allow_list = circ_allow_list.concat('CIRC SHORT', 'RSV1', 'RSV2', 'RSV3', 'RSV7'); -- 2.11.0