From a1871d3d13c1dafa93b956762c0d23728d261da7 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 28 Jun 2008 19:25:24 +0000 Subject: agent virtualize address blocks and routers --- httemplate/edit/allocate.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'httemplate/edit/allocate.html') diff --git a/httemplate/edit/allocate.html b/httemplate/edit/allocate.html index 29c16ae6a..0f05fcc7d 100644 --- a/httemplate/edit/allocate.html +++ b/httemplate/edit/allocate.html @@ -12,15 +12,22 @@ 'table' => 'router', 'name_col' => 'routername', 'disable_empty' => 1, + 'agent_virt' => 1, + 'agent_null_right' => + 'Engineering global configuration', }, ], 'post_url' => "process/addr_block/allocate.cgi", 'popup' => 1, + 'agent_virt' => 1, + 'agent_null_right' => 'Engineering global configuration', ) %> <%init> +my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + unless $curuser->access_right('Engineering configuration') + || $curuser->access_right('Engineering global configuration'); -- cgit v1.2.1