[Koha-bugs] [Bug 20956] BorrowersLog is not logging permission changes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 29 15:16:44 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20956
--- Comment #15 from Kyle M Hall <kyle at bywatersolutions.com> ---
(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?
My initial concern was performance, but considering user permissions changes
are not a frequent activity I think either solution is reasonable. Either
decode it and store it as a list of key/value pairs or just log the binary
representation with a link to a wiki page where we can explain how to decode
it.
--
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