https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14868
Benjamin Rokseth <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55088|0 |1 is obsolete| | --- Comment #54 from Benjamin Rokseth <[email protected]> --- Created attachment 55104 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55104&action=edit Bug 14868: (QA followup) Change permission check order This patch changes the permission check order because haspermission is the smaller check, and going through the patron/user and its guaranteed before checking if it is (say) a staff member or even a superlibrarian doesn't seem right. Bonus: Remove unneeded C4::Auth import in Patron.pm Signed-off-by: Tomas Cohen Arazi <[email protected]> Signed-off-by: Benjamin Rokseth <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
