From 7e6a0e76c78c9125ba76b2e55f47f87ca6945b12 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 12 Jul 2014 14:22:53 +0200 Subject: [PATCH] [PASSED QA] Bug 8539: Library transfer limits page has incorrect permission Without this patch the library transfer page required the 'borrowers' permission, which is not quite right for a page in the administration module. This patch changes the permission to 'parameters_remaining_permissions' To test: Verify the page is accessbile with: - superlibrarian - administration (full) - administration, remaining permissions (without manage_circ_rules) Verify the page is not accessible without all of those permissions. Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- admin/branch_transfer_limits.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index 4aa41dd..bd4cb24 100755 --- a/admin/branch_transfer_limits.pl +++ b/admin/branch_transfer_limits.pl @@ -35,7 +35,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "admin/branch_transfer_limits.tt", query => $input, type => "intranet", - flagsrequired => {borrowers => 1}, + flagsrequired => {parameters => 'parameters_remaining_permissions'}, debug => 1, }); -- 1.7.2.5