X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fallocate.html;h=8d1347df282837eefe209ddfcb3b43905334c0ec;hp=29c16ae6a4793bb7e29025e881ad5c9e7250096e;hb=HEAD;hpb=2eda79fb265b3acdde85881f1160f6daa73f2d84 diff --git a/httemplate/edit/allocate.html b/httemplate/edit/allocate.html index 29c16ae6a..8d1347df2 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' => + 'Broadband global configuration', }, ], 'post_url' => "process/addr_block/allocate.cgi", 'popup' => 1, + 'agent_virt' => 1, + 'agent_null_right' => 'Broadband global configuration', ) %> <%init> +my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + unless $curuser->access_right('Broadband configuration') + || $curuser->access_right('Broadband global configuration');