Bug 3738 Automate login to web-based self-check system
authorJane Wagner <jwagner@ptfs.com>
Fri, 30 Oct 2009 13:44:38 +0000 (09:44 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 8 Feb 2010 13:43:07 +0000 (08:43 -0500)
commitf52c54eb358ffd86d3701fb00fb5873c6662b16f
tree8f6d3ce8dd3184a680be451e52b58f93e4d4e6d8
parentff4d456072fecb4045928015d57c1594b911ef96
Bug 3738 Automate login to web-based self-check system

Some small, single-branch corporate and special libraries use unattended self-checkout stations, and would like to automate the staff login, so that just going to the sco/sco-main.pl URL would bring the self-check up ready for patron use.  This patch create three sysprefs, AutoSelfCheckAllowed, and AutoSelfCheckID/AutoSelfCheckPass. If the site wants to allow automated login, staff would then need to create the selfcheck user record and enter that login ID and password into the sysprefs.  The kohaclone/opac/sco/sco-main.pl script has been modified to check these sysprefs and pass values (if present and allowed) into the self-check URL.  The URL then bypasses the staff login page and comes up ready for checkout, waiting for the first patron barcode.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
admin/systempreferences.pl
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/ru-RU/mandatory/system_preferences_optimal.sql
installer/data/mysql/updatedatabase.pl
opac/sco/sco-main.pl