[Koha-bugs] [Bug 22031] C4::Auth->haspermission should allow checking for more than one subpermission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 21 15:07:04 CET 2018


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize at ptfs-europe
                   |                            |.com

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This works well enough... But.. what if we wanted to introduce the ability to
compare logically with OR or AND in the future.. by adding arrayref as 'AND'
here we'll be doing the exact opposite of what SQL::Abstract does...  

I'm going to try and come up with an alternative that more closely resembles
SQL::Abstract so we're not dealing with two very similar but opposing
constructs in Koha.

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


More information about the Koha-bugs mailing list