Koha/installer/data/mysql/en/mandatory
Jonathan Druart 0893a7c3db 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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-09-25 11:15:47 -03:00
..
auth_values.sql wr76595 (bug 4157): Control barcode display with a borrower attribute 2011-04-05 14:54:50 +12:00
auth_values.txt wr76595 (bug 4157): Control barcode display with a borrower attribute 2011-04-05 14:54:50 +12:00
class_sources.sql Fix FSF address in directory installer/ 2010-03-16 20:17:50 -04:00
class_sources.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
message_transport_types.sql Bug 12298: The "feed" MTT does not seem to be used and can be removed 2014-11-25 17:14:50 -03:00
message_transport_types.txt Bug 11731 - Fixed typo in message_transport_types.txt file. 2014-03-11 14:20:32 +00:00
sample_frequencies.sql Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
sample_frequencies.txt Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
sample_notices.sql Bug 13014: Notify budget owner on new suggestion - sample notices 2015-06-24 11:41:36 -03:00
sample_notices.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_notices_message_attributes.sql Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_attributes.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_notices_message_transports.sql Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_transports.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_numberpatterns.sql Bug 11260: Follow up - normalizing frequencies in English sample file a bit 2014-01-08 00:53:56 +00:00
sample_numberpatterns.txt Bug 11261: make sample serial numbering patterns mandatory during installation 2013-12-13 18:33:57 +00:00
stopwords.sql Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
stopwords.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
userflags.sql Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
userflags.txt Moved language dirs one level down under dbms dir (mysql) 2007-11-13 12:38:29 -06:00
userpermissions.sql Bug 14298: Add the new 'self_checkout' permissions 2015-09-25 11:15:47 -03:00
userpermissions.txt granular permissions - created DB tables 2008-04-10 15:53:08 -05:00