Koha/tools
Katrin Fischer 50927bb9b5
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>
2023-01-31 10:50:52 -03:00
..
csv-profiles
access_files.pl
additional-contents.pl
ajax-inventory.pl
automatic_item_modification_by_age.pl
background-job-progress.pl
batch_delete_records.pl
batch_extend_due_dates.pl
batch_record_modification.pl
batch_records_ajax.pl
batchMod.pl Bug 31154: (QA follow-up) Fix UI form builder 2022-09-16 10:26:26 -03:00
cleanborrowers.pl
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl
holidays.pl
import_borrowers.pl Bug 27920: (QA follow-up) Change radios to a single select pulldown 2022-11-09 14:37:24 -03:00
inventory.pl
letter.pl Bug 32221: Borrowers.password should no longer be an option 2023-01-20 13:55:17 +00:00
manage-marc-import.pl Bug 27421: Commit and revert 2022-09-19 15:14:56 -03:00
marc_modification_templates.pl
modborrowers.pl Bug 31095: (follow-up) Iterate debarments in batch mod 2023-01-31 10:19:42 -03:00
newHolidays.pl
overduerules.pl
page.pl
picture-upload.pl
problem-reports.pl
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl Bug 31526: Follow-up for bug 29697 2022-09-16 10:25:48 -03:00
stage-marc-import.pl Bug 31711: (bug 27421 follow-up) Fix add to basket from a new file 2022-11-15 18:44:30 -03:00
stockrotation.pl
tools-home.pl Bug 26628: Fix access to clubs when user only has clubs permission 2023-01-31 10:50:52 -03:00
upload-cover-image.pl
upload-file.pl
upload.pl
viewlog.pl Bug 32037: Check for existence of object before building link 2022-11-04 19:18:54 -03:00