[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
Mon Feb 27 15:53:03 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32976
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #147420|0 |1
is obsolete| |
--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 147446
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147446&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
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list