[Koha-bugs] [Bug 36056] New: Clarify subpermissions check behavior in C4::Auth
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 9 03:13:13 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36056
Bug ID: 36056
Summary: Clarify subpermissions check behavior in C4::Auth
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: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
Looking at C4::Auth::haspermission, it looks like it allows checking:
{ perm => { subperm_a => 1, subperm_b => 1 } }
treating it like subperm_a AND subperm_b.
But this use case is not documented. We should add tests and add it to the POD.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list