[Koha-bugs] [Bug 6661] New: Boken calls to C4::Auth::haspermission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 2 17:59:40 CEST 2011


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


More information about the Koha-bugs mailing list