Koha/opac/sco
Aleisha Amohia e9f387cfc3
Bug 32256: (follow-up) Use correct patron category
This patch ensures we check the categorycode of the patron trying to issue the items is valid (based on BatchCheckoutsValidCategories), rather than the categorycode of the AutoSelfCheckAllowed patron.

To test:

1 - Enable BatchCheckouts, select nothing in BatchCheckoutsValidCategories
2 - confirm AutoSelfCheckAllowed is allowed and contains the username and password for the self_check user. Confirm self_check user is in category Staff
3 - log into SCO with a user in category Patron, confirm you can only check out 1 item at a time
4 - select Patron in BatchCheckoutsValidCategories
5 - log into SCO with your Patron user again, confirm you can check out multiple items at a time

Sponsored-by: Koha-US
Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-08 18:23:53 +02:00
..
help.pl Bug 29966: Dont pass authnotrequired true and flags together 2022-02-09 22:01:36 -10:00
printslip.pl Bug 36349: Remove passing CGI params from sco/printslip.pl 2024-04-05 11:51:08 +02:00
sco-main.pl Bug 32256: (follow-up) Use correct patron category 2024-05-08 18:23:53 +02:00
sco-patron-image.pl Bug 34478: Fix sco-patron-image.pl access control regression 2024-03-01 10:59:42 +01:00