[Koha-bugs] [Bug 14407] Basic access restrictions for web-based self-checkout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 25 06:49:13 CEST 2015


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

Nicholas van Oudtshoorn <vanoudt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|koha-bugs at lists.koha-commun |vanoudt at gmail.com
                   |ity.org                     |
             Status|NEW                         |Needs Signoff
                 CC|                            |vanoudt at gmail.com

--- Comment #1 from Nicholas van Oudtshoorn <vanoudt at gmail.com> ---
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.


More information about the Koha-bugs mailing list