summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/edit/process/torrus_srvderive.html2
-rw-r--r--httemplate/edit/torrus_srvderive.html2
-rw-r--r--httemplate/elements/menu.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/edit/process/torrus_srvderive.html b/httemplate/edit/process/torrus_srvderive.html
index c3260bc8a..d7aacffca 100644
--- a/httemplate/edit/process/torrus_srvderive.html
+++ b/httemplate/edit/process/torrus_srvderive.html
@@ -13,7 +13,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Configure network monitoring');
my $nms = new FS::NetworkMonitoringSystem;
my @serviceids = $nms->torrus_serviceids;
diff --git a/httemplate/edit/torrus_srvderive.html b/httemplate/edit/torrus_srvderive.html
index b6cdb1a81..63f465420 100644
--- a/httemplate/edit/torrus_srvderive.html
+++ b/httemplate/edit/torrus_srvderive.html
@@ -14,7 +14,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Configure network monitoring');
my $html_bottom_sub = sub {
my $torrus_srvderive = shift;
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 5e2e54835..b5d48a7cb 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -583,7 +583,7 @@ $config_menu{'Broadband'} = [ \%config_broadband, '' ]
$config_menu{'Phone'} = [ \%config_phone, '' ]
if $curuser->access_right('Configuration');
$config_menu{'Network Monitoring'} = [ \%config_nms, '' ]
- if $curuser->access_right('Configuration')
+ if $curuser->access_right('Configure network monitoring')
&& $conf->config('network_monitoring_system') eq 'Torrus_Internal';
$config_menu{'Miscellaneous'} = [ \%config_misc, '' ]
if $curuser->access_right('Configuration' )