[Koha-bugs] [Bug 20649] New: C4::Auth should use C4::Context->IsSuperLibrarian()

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 24 13:19:38 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20649

            Bug ID: 20649
           Summary: C4::Auth should use C4::Context->IsSuperLibrarian()
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Authentication
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org
        Depends on: 20479

We had a lot of trouble with superlibrarian checks in the past, which is why we
introduced C4::Context->IsSuperLibrarian(). C4::Auth should use it instead of:

06             && $flags && $flags->{superlibrarian} != 1

http://git.koha-community.org/gitweb/?p=koha.git;a=blobdiff;f=C4/Auth.pm;h=e0cbbc567746dbce7415253f966ce227c58956d7;hp=1b24c4fdb10f746ff81184b6f6edbff17eb4a3d8;hb=d8b3497368b839e4fc594661719351efbe3433cc;hpb=51d7a02726b81b28325f7a151c8670e2f2293f71


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20479
[Bug 20479] Superlibrarians cannot log into opac
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list