http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6661

             Bug #: 6661
           Summary: Boken calls to C4::Auth::haspermission
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Authentication
        AssignedTo: gmcha...@gmail.com
        ReportedBy: e...@math.uni-bonn.de
         QAContact: koha-bugs@lists.koha-community.org
                CC: dpav...@rot13.org


There are several broken calls to C4::Auth::haspermission missing arguments or
passing the wrong ones. In particular:

./acqui/basket.pl: haspermission({ flagsrequired   => { acquisition =>
'group_manage'} })
Missing userid, broken flagsrequired.

./acqui/booksellers.pl: haspermission( $uid, { flagsrequired => { acquisition
=> q{*} } } )
Broken flagsrequired.

./admin/aqbudget_owner_search.pl: haspermission( $res->{'userid'} );
Missing flagsrequired, maybe OK?

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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