https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42085 --- Comment #17 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 197322 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197322&action=edit Bug 42085: Slim down members/member-flags.pl cud-newflags block Replace the raw-DBI permission write block (~62 lines) with a call to $patron->set_permissions(\%granted). Logging and the superlibrarian guard are now handled inside the object method. The CGI layer now only parses the flag params into a granted hashref and delegates — keeping the controller thin and the logic testable. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.