From: ivan Date: Sun, 1 Feb 2009 12:48:54 +0000 (+0000) Subject: yow, don't hide the config menu unnecessarily X-Git-Tag: root_of_webpay_support~91 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=634be374a5c44f3cf1a959b63010e0b91f0887da yow, don't hide the config menu unnecessarily --- diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 215492d7a..ae5ff5880 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -365,7 +365,14 @@ $menu{'Reports'} = [ \%report_menu, 'Lists, reporting and graphing' ] $menu{'Tools'} = [ \%tools_menu, 'Tools' ] if keys %tools_menu; $menu{'Configuration'} = [ \%config_menu, 'Configuraiton and setup' ] - if $curuser->access_right('Edit advertising sources') + if $curuser->access_right('Configuration') + || $curuser->access_right('Edit package definitions') + || $curuser->access_right('Edit global package definitions') + || $curuser->access_right('Edit billing events') + || $curuser->access_right('Edit global billing events') + || $curuser->access_right('Dialup configuration') + || $curuser->access_right('Broadband configuration') + || $curuser->access_right('Edit advertising sources') || $curuser->access_right('Edit global advertising sources'); use vars qw($gmenunum);