]> git.koha-community.org Git - koha.git/commit
Bug 12098: Fix C4::Serials::can_edit_subscription
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 16 Apr 2014 14:50:23 +0000 (16:50 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 18 Apr 2014 20:45:59 +0000 (20:45 +0000)
commit4f7803e469a41cafb993c6d41e6481499e6cca93
tree011439e827255bd0b9035c4f80b427aa2b90e5d2
parentb772969cddce53d72bfd27bfda0ee094b1332e9d
Bug 12098: Fix C4::Serials::can_edit_subscription

This patch fixes a problem whereby staff users could
edit subscriptions they are not permitted to by going directly
to the subscription details page.

It also adds some unit tests for the can_edit_subscription routine
and add a new can_show_subscription routines.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Notes on second patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Serials.pm
t/db_dependent/Serials_2.t