[Koha-bugs] [Bug 3177] New: haspermission offers bogus hashref option

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Thu Apr 30 16:48:28 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3177

           Summary: haspermission offers bogus hashref option
           Product: Koha
           Version: HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Authentication
        AssignedTo: chris at bigballofwax.co.nz
        ReportedBy: joe.atzberger at liblime.com
   Estimated Hours: 0.0


Instead of userid, hashpermissions() claims to accept the $member hashref to
check for authentication.  It does accept it, but it doesn't DO anything with
it.  That option should be removed until functionally implemented.  Luckily
nothing attempts to use it currently.

Also, it is lame to pass $dbh around when you have it readily available from
C4::Context->dbh(). This kind of code may have predated the Context-caching of
dbh, or it may have just been unaware of it.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list