[Koha-bugs] [Bug 9422] Patron picture uploader ignores patronimages syspref
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Mar 28 12:57:09 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9422
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #85021|0 |1
is obsolete| |
--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 102039
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102039&action=edit
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 at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list