[Koha-bugs] [Bug 17423] patronimage.pl permission is too restrictive
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 11 11:34:03 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17423
Fridolin SOMERS <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #56136|0 |1
is obsolete| |
--- Comment #4 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 56150
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56150&action=edit
Bug 17423 - patronimage.pl permission is too restrictive
Bug 14566 added the permission "borrowers" on patronimage.pl.
This perm is too restrictive because circulation pages also uses this page.
I propose to simply use "catalogue" perm.
Test plan
- Set an image to borrower xx
- Create a user with only catalogue permission
- Log with this user
- Go to page (replace xx by borrower number) :
/cgi-bin/koha/members/patronimage.pl?borrowernumber=xx
=> Without patch you get the page saying you do not have the permission
=> With patch you get the image
- Log out and retest the page patronimage.pl
=> You get 403 error
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list