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 <nick@quecheelibrary.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Katrin Fischer 2014-07-12 14:22:53 +02:00 committed by Galen Charlton
parent 89805e589a
commit c00d74306f
1 changed files with 1 additions and 1 deletions

View File

@ -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,
});