https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42085 --- Comment #21 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 197530 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197530&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> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.