[Koha-bugs] [Bug 32976] Patron image Add/Edit button should not appear if permission is turned off

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Feb 26 12:24:42 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32976

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 147420
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147420&action=edit
Bug 32976: Add permission check on Add/Edit controls for patron images

This adds a check on the batch_upload_patron_images permission
to the Add/Edit control for patron images in the patron account
in the staff interface.

To test:
* Enable patronimages system preference
* With your 'superlibrarian' account:
* Add and edit/remove a patron image to an account
* Create a staff user with batch_upload_patron_images permission
* Log in with this user and verify everything works the same
  as before
* Remove the batch_upload_patron_images permission
* Verify the Add/Edit controls are on longer visible to this
  patron

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list