summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-02-01 12:48:54 +0000
committerivan <ivan>2009-02-01 12:48:54 +0000
commit634be374a5c44f3cf1a959b63010e0b91f0887da (patch)
tree28aaebec3c440e11daf48e62a0bfb26096dcb319
parent8e219ac3d60ba254c9bbc40adfeb2ebe40fd2b5f (diff)
yow, don't hide the config menu unnecessarily
-rw-r--r--httemplate/elements/menu.html9
1 files changed, 8 insertions, 1 deletions
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);