]> git.koha-community.org Git - koha.git/commit
Bug 7521: Templates should use receive_serials permission
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Fri, 10 Feb 2012 06:17:33 +0000 (07:17 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 03:27:54 +0000 (22:27 -0500)
commit64d2dc8bbc9ad2823f1bc30058ee8076f6b4890a
treed2194c0a143b294a7f16aa37d5ebec1d6e7d1ecf
parenta26ce485efc2b8c8cede4af76b39ab1709e271e9
Bug 7521: Templates should use receive_serials permission

Corrects templates to use permission receive_serials.

Before patch:
1) Serial receive page (/cgi-bin/koha/serials/serials-edit.pl...)
can only be accessed with full serials permissions.
When one permission is missing, page can not be accessed.

2) Serial collection/Issue History page (/cgi-bin/koha/serials/serials-collection.pl...)
can only be accessed with full serials permissions.

After applying patch:
1) Serial receive page can only be accessed when user has receive_serials
permission.

2) Edit and serial receive links are hidden, when user doesn't have
serials_receive permission. Page is accessible with at least 1 serials
permission.

I will send a another patch to correct behaviour for the routing permission.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit d9d364516b0bd5363c95b134520bb0379836be51)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit ee0958e73fec19736220f0db0f86c1a4ad7eeb8b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
serials/serials-collection.pl
serials/serials-edit.pl