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: gmcharlt@gmail.com ReportedBy: ef@math.uni-bonn.de QAContact: koha-bugs@lists.koha-community.org CC: dpavlin@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.