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

             Bug #: 7002
           Summary: Inaccurate checks for borrower flags == 1
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Authentication
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


There are a few instances in the code which I can find which use this to check
whether someone has superlibrarian privileges in the context of
IndependandBranches:

unless (($userenv->{'flags'} == 1) or ($userenv->{'branch'} eq
$item->{'homebranch'})) {

This check fails if the logged in user has any other privilege checked in
addition to superlibrarian. In other words, the user must *only* have
superlibrarian checked in order to qualify to perform these operations.

catalogue\moredetail.pl line 136
cataloguing\additem.pl line 548
tools\batchMod.pl line 460

-- 
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
[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