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 Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
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 Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
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 Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
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 Bug 22888: Use DataTables for Koha news table filtering 2019-06-24 14:58:02 +01:00
letter.pl Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
manage-marc-import.pl Bug 20180: [sql_modes] Remove GROUP BY clause in manage-marc-import.pl 2018-04-09 16:15:17 -03:00
marc_modification_templates.pl Bug 13560: Add an 'Add' option for marc modification templates 2018-07-19 17:22:18 +00:00
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 Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
quotes.pl Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
scheduler.pl Bug 20017: use Modern::Perl in Tools perl scripts 2018-02-05 09:46:45 -03:00
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 Bug 18403: Patron reviews 2018-02-12 15:41:41 -03:00
upload-cover-image.pl Bug 20564: Don't use system to unzip files 2018-09-19 13:54:26 +00:00
upload-file.pl
upload.pl Bug 19633: Use alphanumeric error codes in upload 2018-08-10 10:10:46 +00:00
viewlog.pl Bug 10352: Get add operations too 2020-01-10 08:37:19 +00:00