From 87d50a210703742e6d82bce5655f011776953d65 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 12 Jul 2014 14:22:53 +0200 Subject: [PATCH] [SIGNED OFF] 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 --- 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 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.10.4