From d046474805b065f7419fefb06902d6ae18a0cd29 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 23 May 2017 14:10:20 -0300 Subject: [PATCH] Bug 16295: Fix access to MMT admin page There was a typo in the permission code Test plan: Try to access the marc modification templates admin page with the marc_modification_templates permission (and not all tools permissions) Signed-off-by: Josef Moravec Signed-off-by: Julian Maurice Signed-off-by: Kyle M Hall --- tools/marc_modification_templates.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/marc_modification_templates.pl b/tools/marc_modification_templates.pl index 4e477c0cf2..c115429279 100755 --- a/tools/marc_modification_templates.pl +++ b/tools/marc_modification_templates.pl @@ -36,7 +36,7 @@ my ($template, $loggedinuser, $cookie) query => $cgi, type => "intranet", authnotrequired => 0, - flagsrequired => { tools => 'marc_modfication_templates' }, + flagsrequired => { tools => 'marc_modification_templates' }, debug => 1, }); -- 2.39.5