summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html9
1 files changed, 4 insertions, 5 deletions
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');