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 <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2017-05-23 14:10:20 -03:00 committed by Kyle M Hall
parent 1d7ecebfd2
commit d046474805
1 changed files with 1 additions and 1 deletions

View File

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