]> 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)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 17 Feb 2012 08:51:49 +0000 (09:51 +0100)
commitd9d364516b0bd5363c95b134520bb0379836be51
tree769e2dbd3773fde44ad6d0a7a77ee197250a44d0
parent497f49d8b69e0be9e192b48bf40f2f5ab6cc92ce
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
serials/serials-collection.pl
serials/serials-edit.pl