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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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