From: Ivan Kohler Date: Mon, 9 Dec 2013 23:06:30 +0000 (-0800) Subject: fix config menu access for message templates without Configuration, RT#25994 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c4acb5965a5062c7aa55fb02629b1b68e303ed8c fix config menu access for message templates without Configuration, RT#25994 --- diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 81aff3d24..8e369f4f3 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -707,7 +707,11 @@ $menu{'Configuration'} = [ \%config_menu, 'Configuration and setup' ] || $curuser->access_right('Broadband configuration') || $curuser->access_right('Phone configuration') || $curuser->access_right('Edit advertising sources') - || $curuser->access_right('Edit global advertising sources'); + || $curuser->access_right('Edit global advertising sources') + || $curuser->access_right('View templates') + || $curuser->access_right('View global templates') + || $curuser->access_right('Edit templates') + || $curuser->access_right('Edit global templates'); $menu{'Help'} = [ \%help_menu, '' ];