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@lists.koha-community.org Reporter: martin.renvoize@ptfs-europe.com QA Contact: testopia@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.