Koha/patron_lists
Owen Leonard 08a9ded6b0
Bug 37266: patron_lists/delete.pl should have CSRF protection
This patch adds CSRF protection to patron list deletions.

Also changed: The "Delete selected lists" button is now in a floating
toolbar.

To test, apply the patch and go to Tools -> Patron lists.

- If necessary, create a few patron lists.
- Test the two methods for list deletion available on the page:
  - Check one or more checkboxes and then click the "Delete selected
    lists" at the top of the page.
  - Click the "Actions" button for an individual list and choose "Delete
    list."
- Open the checkout page for a patron.
  - Under the "Patron lists" tab, add the patron to a list.
  - Click the "Actions" button for an that list and choose "Delete
    list."
  - When you are taken to the patron lists page the list should have
    been deleted.
- Perform the same test on the patron details page.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-03-06 13:54:49 +01:00
..
add-modify.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
delete.pl Bug 37266: patron_lists/delete.pl should have CSRF protection 2025-03-06 13:54:49 +01:00
list.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
lists.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patron-lists-tab.pl
patrons.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00