[Koha-bugs] [Bug 1783] New: need ability to do OR in permissions check

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Mon Jan 21 18:48:25 CET 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1783

           Summary: need ability to do OR in permissions check
           Product: Koha
           Version: HEAD
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Authentication
        AssignedTo: chris.cormack at liblime.com
        ReportedBy: galen.charlton at liblime.com
         QAContact: koha-bugs at nongnu.org


For catalogue/updateitem.pl, added checkauth call to guarantee that user has
circulate permission in order to set an item status flag.

However, it would be ideal if editcatalogue would have access as well, however,
checkauth currently requires that *ALL* passed permissions flags are met.  A
public (i.e., runs out haspermission) API in C4::Auth would be nice to allow an
OR instead of AND in the permissions checks.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list