http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14407

Nicholas van Oudtshoorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |ity.org                     |
             Status|NEW                         |Needs Signoff
                 CC|                            |[email protected]

--- Comment #1 from Nicholas van Oudtshoorn <[email protected]> ---
Created attachment 40612
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40612&action=edit
Allow web-based self-checkout to be limited to only certain IPs or IP ranges

Bug 14407 - Allow web-based self-checkout to be limited to only certain IPs or
IP ranges

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.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to