From 59fc1f5b4106a312d3d1e75d127e6c5a19373075 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 12 Jul 2014 14:22:53 +0200 Subject: [PATCH] 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 Signed-off-by: Tomas Cohen Arazi --- admin/branch_transfer_limits.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index f94f666cd9..a7d9132913 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, }); -- 2.20.1