[Koha-bugs] [Bug 14407] Limit web-based self-checkout to specific IP addresses
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 26 07:10:57 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14407
Nicholas van Oudtshoorn <vanoudt at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #51812|0 |1
is obsolete| |
--- Comment #19 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
Created attachment 51813
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51813&action=edit
New patch, with silly typo fixed
Test plan:
0) Back up your databse
1) Apply this patch
2) In your mysql client use your Koha database and execute:
> DELETE FROM systempreferences;
> SOURCE ~/kohaclone/installer/data/mysql/sysprefs.sql;
-- Should be no errors.
> SELECT * FROM systempreferences WHERE
variable='SelfCheckAllowByIPRanges';
-- Should see 1 entry
> QUIT;
3) Restore your database
4) Run installer/data/mysql/atomicupdate/selfcheckallowbyiprange.sql
5) In your mysql client, using your Koha database, execute:
> SELECT * FROM systempreferences WHERE
variable='SelfCheckAllowByIPRanges';
-- should see the same entry as above
6) Try access the Self-checkout, self-checkout help, and self-checkout patron
images. It should work.
7) Log into the staff client
8) Home -> Koha administration -> Global system preferences
9) -> CIRCULATION
Make sure that SelfCheckAllowByIPRanges is set to a computer you can
test on
10) Try access the Self-checkout, self-checkout help, and self-checkout patron
images from a computer with an IP in the range above. It should work.
11) Try access the Self-checkout, self-checkout help, and self-checkout patron
images from a computer with an IP outside of the range above. It should *not*
work.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list