X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fsvc_acct_pop.cgi;h=501d3625a911a3b31dbe40a5424d217fe1062d2b;hb=fc195fd7a0a2ca670cfdd62ef646436b58795c21;hp=44bc651cf497e2eb1bca25d8fb0ea28e23bdfa54;hpb=a79f6e69559ec438a178f73b8b4d51d6f12c0d36;p=freeside.git diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi index 44bc651cf..501d3625a 100755 --- a/httemplate/browse/svc_acct_pop.cgi +++ b/httemplate/browse/svc_acct_pop.cgi @@ -23,12 +23,16 @@ $num_accounts_sub, ], 'align' => 'rllrrrr', + 'links' => [ map { $svc_acct_pop_link } (1..6) ], ) %> <%init> +my $curuser = $FS::CurrentUser::CurrentUser; + die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + unless $curuser->access_right('Dialup configuration') + || $curuser->access_right('Dialup global configuration'); my $html_init = qq! Add new Access Number