]> git.koha-community.org Git - koha.git/commit
fix for 2997 : superlibrarian's ability to edit item/patron home branch affected...
authorPaul Poulain <paul.poulain@biblibre.com>
Thu, 28 May 2009 16:32:14 +0000 (18:32 +0200)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 28 May 2009 22:06:46 +0000 (17:06 -0500)
commit6924e7d6b43634933e3c4219d16258f8411346c3
tree664da8b8cbc571b6e2b710e2d6d6a7e3d998cd7e
parent53922726fcd54d98386fed607a71e0de0d80c59f
fix for 2997 : superlibrarian's ability to edit item/patron home branch affected if all other privileges are selected

Before this patch, we used to test for flags == 1, which was wrong when patron had all privileges.
This patch just adds a %2 to check that patron has superlibrarian privilege, and maybe something else we don't care.

I think I fixed it everywhere except in acquisition, that will be addressed by BibLibre new acquisition module.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
18 files changed:
C4/Biblio.pm
C4/Circulation.pm
C4/Items.pm
C4/Members.pm
C4/Serials.pm
C4/Suggestions.pm
cataloguing/addbiblio.pl
cataloguing/additem.pl
circ/overdue.pl
members/deletemem.pl
members/memberentry.pl
members/moremember.pl
reserve/request.pl
serials/subscription-add.pl
serials/subscription-detail.pl
suggestion/acceptorreject.pl
tools/export.pl
tools/holidays.pl