17 May
2013
17 May
'13
5:02 p.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10277 --- Comment #1 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 18206 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18206&action=edit Bug 10277 - Add C4::Context->IsSuperLibrarian() The method of checking the logged in user for superlibrarian privileges is obtuse ( $userenv && $userenv->{flags} % 2 != 1 ) to say the least. The codebase is littered with these lines, with no explanation given. It would be much better if we had one subroutine that returned a boolean value to tell us if the logged in user is a superlibrarian or not. -- You are receiving this mail because: You are watching all bug changes.