[Koha-bugs] [Bug 22483] haspermissions used to support passing 'undef' for $flagsrequired

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 19:15:25 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22483

--- Comment #13 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 86395
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86395&action=edit
Bug 22483: Restore undef behaviour

Turns out that we rely heavily on the side effect that passing undef
to haspermission would always return true no matter what permissions
or lack of permissions you had.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list