[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
Sat Dec 22 14:57:46 CET 2018


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

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 83474
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83474&action=edit
Bug 22031: Add SQL::Abstract like syntax to haspermission

This patch adds an SQL::Abstract inspired query syntax to the
haspermission method in C4::Auth.  One can now pass Arrayrefs to denote
an OR list of flags, a Hashref to denote a AND list of flags.

Structures can be nested at arbitrary depth.

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


More information about the Koha-bugs mailing list