Koha/tools
Katrin Fischer 563784bcf5
Bug 9422: Don't allow access to 'Upload patron images' when patronimages syspref is off
In addition to checking the patron image upload permission, this
adds a check for the patronimages system preference to the tools
home page and sidebar.

To test:
- Check that the patron image upload tool only displays when
  - system preference patronimages is set to 'Allow'
    and user is either
  - superlibrarian or
  - has bath_upload_patron_images permission
- Save URL of patron image uploader page
- Turn off patronimages
- Verify you get redirected to the home page of Koha when trying
  to access the page

Note: this redirect is already used by the stock rotation feature.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-03 14:26:32 +01:00
..
csv-profiles
quotes
access_files.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
ajax-inventory.pl
automatic_item_modification_by_age.pl
background-job-progress.pl
batch_delete_records.pl Bug 23463: Fix safe_return return value in deletion tools 2020-03-23 09:26:33 +00:00
batch_extend_due_dates.pl Bug 23463: Replace a new occurrence of ModItem 2020-03-23 10:37:29 +00:00
batch_record_modification.pl Bug 18127: Add batch modified records to an existing list 2020-03-10 15:20:18 +00:00
batch_records_ajax.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
batchMod.pl Bug 23463: Fix safe_return return value in deletion tools 2020-03-23 09:26:33 +00:00
cleanborrowers.pl
copy-holidays.pl Bug 24878: Add auth check for copy-holidays 2020-03-26 11:35:11 +00:00
csv-profiles.pl
exceptionHolidays.pl Bug 24878: Add authentication checks to the calendar tool 2020-03-26 11:35:00 +00:00
export.pl Bug 14647: (follow-up) Changes to script 2020-02-20 08:59:31 +00:00
holidays.pl
import_borrowers.pl Bug 23473: (follow-up) check if overwrite_passwords is set 2020-03-27 12:23:00 +00:00
inventory.pl Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
koha-news.pl
letter.pl Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
manage-marc-import.pl
marc_modification_templates.pl
modborrowers.pl Bug 20443: Use search_with_library_limits for attribute types 2020-03-23 13:49:22 +00:00
newHolidays.pl Bug 24878: Add authentication checks to the calendar tool 2020-03-26 11:35:00 +00:00
overduerules.pl Bug 21746: Remove NO_LIBRARY_SET 2020-03-02 10:20:42 +00:00
picture-upload.pl Bug 9422: Don't allow access to 'Upload patron images' when patronimages syspref is off 2020-04-03 14:26:32 +01:00
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
stage-marc-import.pl Bug 20415: Remove UseKohaPlugins system preference 2020-03-26 11:42:02 +00:00
stockrotation.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
tools-home.pl
upload-cover-image.pl
upload-file.pl
upload.pl
viewlog.pl Bug 10352: Get add operations too 2020-01-10 08:37:19 +00:00