X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_phone.cgi;h=958558b46f5d29efc263f7ceeb348b4417b25e38;hb=664c32360a73c1962fefdf9da62f5e6842cee4c0;hp=ca62b641636ca49f189332f6234d553a9ada350c;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi index ca62b6416..958558b46 100644 --- a/httemplate/edit/svc_phone.cgi +++ b/httemplate/edit/svc_phone.cgi @@ -1,7 +1,7 @@ <% include( 'elements/svc_Common.html', 'name' => 'Phone number', 'table' => 'svc_phone', - 'fields' => [qw( countrycode phonenum )], #pin + 'fields' => [qw( countrycode phonenum pin )], 'labels' => { 'countrycode' => 'Country code', 'phonenum' => 'Phone number', @@ -9,3 +9,9 @@ }, ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific? + +