blob: 4321f946affe358b3635e3867132b98306599d4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<% include( '../elements/process.html',
'table' => 'addr_block',
'redirect' => popurl(4). 'browse/addr_block.cgi?dummy=',
'error_redirect' => popurl(4). 'browse/addr_block.cgi?',
'agent_virt' => 1,
'agent_null_right' => 'Engineering global configuration',
)
%>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
unless $curuser->access_right('Engineering configuration')
|| $curuser->access_right('Engineering global configuration');
$cgi->param('routernum', 0) # in FS::addr_block::check instead?
unless $cgi->param('routernum');
</%init>
|