Koha-clms/installer/data/mysql
Jonathan Druart 08c7606c36 Bug 14298: Add the new 'self_checkout' permissions
There is a security issue in the self checkout module.
The user used to check items out must have the circulate =>
circulate_remaining_permissions permissions.
So even if a user does not have a login/password or a barcode he cans
access to the circulation module of the intranet.
Imagine if the sco patron used is a superlibrarian...

This patch set will change the behavior and adds a new permission to
access to the sco module (circulate => self_checkout).
This permission should be the only one defined for this patron.

IMPORTANT NOTE: Hopefully, this only works if both interfaces use the
same domains (but different ports).

Test plan:
0/ Does not apply this patch set
1/ Create a patron with the circulate => circulate_remaining_permissions
and some others. Note his userid/pwd (later 'sco/sco').
Turn on WebBasedSelfCheck and AutoSelfCheckAllowed
Fill the AutoSelfCheckID and AutoSelfCheckPass wich 'sco' and 'sco'
2/ Log you out from the OPAC and the intranet
3/ Go on the sco page
4/ Note that your are automatically logged in
5/ Go on the circulation module on the intranet side
6/ Oops
7/ Apply this patch
8/ Execute the updatedatabase
9/ Note that the sco user only has the new permission circulate =>
self_checkout, others have been removed
10/ Try to reproduce the issue, it should not access anything on the
intranet side
11/ Confirm that there is no regression in the sco module

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Works well no regressions, changes the permissions appropriately.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2015-09-23 06:07:21 +12:00
..
atomicupdate Bug 14298: Add the new 'self_checkout' permissions 2015-09-23 06:07:21 +12:00
de-DE Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-07 09:28:31 +12:00
en Bug 14298: Add the new 'self_checkout' permissions 2015-09-23 06:07:21 +12:00
es-ES Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-07 09:28:31 +12:00
fr-FR Bug 5010: Fix OPACBaseURL to include protocol 2015-06-07 19:47:49 +12:00
it-IT Bug 5010: Fix OPACBaseURL to include protocol 2015-06-07 19:47:49 +12:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-04 13:53:38 +12:00
nb-NO Bug 5010: Fix OPACBaseURL to include protocol 2015-06-07 19:47:49 +12:00
pl-PL Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-07 09:28:31 +12:00
ru-RU Bug 5010: Fix OPACBaseURL to include protocol 2015-06-07 19:47:49 +12:00
uk-UA Bug 5010: Fix OPACBaseURL to include protocol 2015-06-07 19:47:49 +12:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 14205: Deleting an Item/Record does not remove link to course reserve 2015-09-22 13:21:09 +12:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 5010: Fix OPACBaseURL to include protocol 2015-06-07 19:47:49 +12:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 14717: DBRev 3.21.00.023 2015-09-22 13:55:03 +12:00