From 3e2c08dba947ea254c60cbd621776c0f5dddb2e8 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 3 Sep 2008 19:08:29 +0000 Subject: new access right names --- httemplate/elements/menu.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'httemplate/elements/menu.html') diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index d476e3098..60ea8b22b 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -335,11 +335,10 @@ $config_menu{'Resellers'} = [ \%config_agent, '' ] $config_menu{'Billing'} = [ \%config_billing, '' ] if $curuser->access_right('Edit billing events') || $curuser->access_right('Edit global billing events'); -if ( $curuser->access_right('Engineering configuration') ) { - $config_menu{'Dialup'} = [ \%config_dialup, '' ]; - $config_menu{'Fixed (username-less) broadband'} = - [ \%config_broadband, '' ]; -} +$config_menu{'Dialup'} = [ \%config_dialup, '' ] + if ( $curuser->access_right('Dialup configuration') ); +$config_menu{'Fixed (username-less) broadband'} = [ \%config_broadband, '' ] + if ( $curuser->access_right('Broadband configuration') ); $config_menu{'Miscellaneous'} = [ \%config_misc, '' ] if $curuser->access_right('Edit advertising sources') || $curuser->access_right('Edit global advertising sources'); -- cgit v1.2.1