diff options
author | jeff <jeff> | 2008-09-03 19:08:29 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-09-03 19:08:29 +0000 |
commit | 3e2c08dba947ea254c60cbd621776c0f5dddb2e8 (patch) | |
tree | af0f7a0dfeacbefe351964d3e97c66c04eca58ec /httemplate/elements | |
parent | 1ce2d49c8b5af031066e8dbf4837cf220eb03269 (diff) |
new access right names
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/menu.html | 9 |
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'); |