summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_phone.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/svc_phone.cgi')
-rw-r--r--httemplate/edit/svc_phone.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi
index ca62b6416..78b849c8d 100644
--- a/httemplate/edit/svc_phone.cgi
+++ b/httemplate/edit/svc_phone.cgi
@@ -9,3 +9,9 @@
},
)
%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+
+</%init>