[Bug 6661] New: Boken calls to C4::Auth::haspermission
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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6661 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Summary|Boken calls to |Broken calls to |C4::Auth::haspermission |C4::Auth::haspermission --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- This appears to be fixed in master. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org