Koha-clms/tools
Katrin Fischer b79da3b2a1 Bug 26628: Fix access to clubs when user only has clubs permission
If a user only has the clubs and no permission from the tools section,
they can't access the patron clubs page by navigation. This patch
extends the permission checks for tools to include the clubs, that
live on the tools page, but have a top level permission.

To test:
- create a patron with only the catalogue and clubs permissions
- log in to the staff client as that patron
- navigate to a patron record, confirm you can see the Clubs tab in the patron account, can add patrons to and remove patrons from clubs
- confirm you don't have a link to the Tools module either on the Koha homepage or in the More menu
- enter the clubs URL manually (/cgi-bin/koha/clubs/clubs.pl), confirm you are allowed to open the page
- Apply patch
- The only changes should be:
  - You can now see the Tools entry in the More navigation menu
  - You can now see the Tools module link on the start page
  - Both take you to the tools page, only visible tools is 'Patron clubs'

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 50927bb9b5)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit ecdd1d2b42)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e1df60db47)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2023-02-17 13:08:30 +01:00
..
csv-profiles
…
access_files.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
additional-contents.pl Bug 29782: Fix handling records without title or content 2022-10-12 16:43:34 +02:00
ajax-inventory.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
automatic_item_modification_by_age.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
background-job-progress.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
batchMod.pl Bug 31154: (QA follow-up) Fix UI form builder 2022-11-14 15:22:24 +01:00
batch_delete_records.pl Bug 29771: Scalar context for split 2022-03-11 06:35:50 -05:00
batch_extend_due_dates.pl Bug 29380: Correct table name in joins to prevent errors 2021-11-03 15:40:52 +01:00
batch_record_modification.pl Bug 29771: Scalar context for split 2022-03-11 06:35:50 -05:00
batch_records_ajax.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
cleanborrowers.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
copy-holidays.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
csv-profiles.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
exceptionHolidays.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
export.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
holidays.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
import_borrowers.pl Bug 29771: Remove trivial cases 2022-03-11 06:35:45 -05:00
inventory.pl Bug 29771: Scalar context for split 2022-03-11 06:35:50 -05:00
letter.pl Bug 32221: Borrowers.password should no longer be an option 2023-02-17 13:08:29 +01:00
manage-marc-import.pl Bug 29325: Fix commit_file.pl 2022-10-14 22:22:04 +02:00
marc_modification_templates.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
modborrowers.pl Bug 30525: Items batch modification broken 2022-04-22 14:29:43 -04:00
newHolidays.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
overduerules.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
picture-upload.pl Bug 28576: Update the maximum size of an image. 2022-02-18 06:40:58 -05:00
problem-reports.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
quotes-upload.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
quotes.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
scheduler.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
showdiffmarc.pl Bug 30779: Remove _update_import_record_marc and update tests 2022-10-12 17:19:57 +02:00
stage-marc-import.pl Bug 30525: Items batch modification broken 2022-04-22 14:29:43 -04:00
stockrotation.pl Bug 29771: Remove trivial cases 2022-03-11 06:35:45 -05:00
tools-home.pl Bug 26628: Fix access to clubs when user only has clubs permission 2023-02-17 13:08:30 +01:00
upload-cover-image.pl Bug 30525: Items batch modification broken 2022-04-22 14:29:43 -04:00
upload-file.pl Bug 28785: Adjust check_cookie_auth calls 2021-10-18 11:28:41 +02:00
upload.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
viewlog.pl Bug 32037: Check for existence of object before building link 2023-01-26 10:52:26 +01:00