[Koha-bugs] [Bug 22031] New: 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
Thu Dec 20 14:40:48 CET 2018


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

            Bug ID: 22031
           Summary: C4::Auth->haspermission should allow checking for more
                    than one subpermission
 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: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

Currently we can only check one subpermission per module

It would be nice to check multiple

Testing code suggests this was possible, however, it was flawed

flagsrequired => {
   tools => 'batch_upload_patron_images',
   tools => 'upload_local_cover_images'
}

Above does not test for two permissions, it simply checks for the second

-- 
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