]> git.koha-community.org Git - koha.git/commit
Bug 36597: Fix deletion of circulation desks broken by CSRF
authorOwen Leonard <oleonard@myacpl.org>
Fri, 12 Apr 2024 12:31:15 +0000 (12:31 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 18 Apr 2024 14:51:11 +0000 (16:51 +0200)
commita81c98e1ea39f4b04bb3eec2fde7c8c6f331e6a3
treef7556df62cc847db67494eea5bc019de4b920820
parente26fc0a3d5a83a7b22f0c3907a98d470b0e2443d
Bug 36597: Fix deletion of circulation desks broken by CSRF

Our CSRF work introduced a problem with deleting circulation desks: The
"delete_confirm" does not need "cud-" because it's a GET operation
leading to a POSTed deletion after the confirmation is submitted.

To test, apply the patch and restart services.

- Go to Administration -> Circulation desks.
- If necessary, create a circulation desk.
- Click the "Delete" button for you new desk.
- You should be taken to a confirmation page which shows details of the
  desk you're deleting.
- Confirming the deletion should result in deletion of the desk.

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
admin/desks.pl