[Koha-bugs] [Bug 18403] Hide patron information if not part of the logged in user library group

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 10 23:33:46 CEST 2017


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

--- Comment #20 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 62029
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62029&action=edit
Bug 18403: Patron reviews

This patch adds a new method Koha::Reviews->search_limited to return the
reviews
a logged in user is allowed to see depending his permissions.

Test plan:
Create some reviews at the OPAC and make sure a staff user is limited
(or not) to approve
or decline it.
The number of reviews displayed on the mainpage should be correct as
well.

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


More information about the Koha-bugs mailing list