From b412c2545d8862278343adc1ef17cc297e11ad6d Mon Sep 17 00:00:00 2001 From: levinse Date: Sun, 15 May 2011 01:43:40 +0000 Subject: torrus: add new access rights, add SNMP community option, RT10574 --- httemplate/misc/process/nms-add_iface.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httemplate/misc/process/nms-add_iface.html') diff --git a/httemplate/misc/process/nms-add_iface.html b/httemplate/misc/process/nms-add_iface.html index 0d37ea233..5f51e5ce1 100644 --- a/httemplate/misc/process/nms-add_iface.html +++ b/httemplate/misc/process/nms-add_iface.html @@ -5,7 +5,8 @@ <%init> -# XXX: access rights +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configure network monitoring'); my $host = $cgi->param('host'); die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/; -- cgit v1.2.1