From d0f5684cdbd4521f673a2ac49c12975f97073583 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. --- 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 e7422a6..b60c066 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.tmpl", query => $input, type => "intranet", - flagsrequired => {borrowers => 1}, + flagsrequired => {parameters => 'parameters_remaining_permissions'}, debug => 1, }); -- 1.9.1