[Koha-bugs] [Bug 30198] Add privacy elements to reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 5 01:38:38 CEST 2023


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

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
(In reply to Donna from comment #0)
> Likewise, if I am in a consortium/multi-library setting, and do not have the
> permission to view patron data from other libraries, in the reports module I
> can run reports that contain patron data from any of the other libraries.

Unfortunately this one isn't really possible. Intervening before the query is
sent to the database isn't feasible since the query permutations are too
varied. Intervening after the results are retrieved would lead to a discrepancy
in rows retrieved and rows viewed. You wouldn't be able to determine the result
count until after you'd tried to retrieve all possible rows. 

It would lead to a wildly different user experience, and at that point you'd
almost be better off re-writing the Reports module not to allow custom SQL at
all. But that creates other problems too, of course.

-- 
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