[Koha-bugs] [Bug 22483] New: 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 13:23:40 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22483
Bug ID: 22483
Summary: haspermissions used to support passing 'undef' for
$flagsrequired
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
Bug 22031 inadvertently prevents passing 'undef' (or not passing $flagsrequired
at all) to mean "pass if I have ANY permission on anything".
This functionality was in use in two places. /svc/members/search and
/Koha/REST/V1/Auth.pm.
We do support passing `*` to mean the same thing (and this can also be used at
arbitrary depth in the structure to mean `any subpermission`.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list