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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to