[Koha-bugs] [Bug 20956] BorrowersLog is not logging permission changes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 30 16:53:21 CET 2024


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

--- Comment #16 from Christopher Brannon <cbrannon at cdalibrary.org> ---
(In reply to Magnus Enger from comment #14)
> How verbose should we do the logging? As far as I can tell, the information
> about permissions is stored in a combination of borrowers.flags and the
> user_permissions table. 
> 
> The information from the user_permissions table could probably be logged as
> is, and be pretty readable. 
> 
> But the flags is just a number, that needs to be interpreted in some way to
> make sense. Should we log just the number, or the interpretation?

If this is a log that a non-admin should be able to interpret, it should be the
interpretation.  You could log both, especially for debugging, but the
interpretation should definitely be there.  Why put only the number and make
people jump through hoops to interpret if the system can do it without
sacrificing performance?

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


More information about the Koha-bugs mailing list