diff options
| author | ivan <ivan> | 2008-01-13 21:14:32 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-01-13 21:14:32 +0000 |
| commit | 97e6cec67c0c99ce1b6f0667a09f1e009100189d (patch) | |
| tree | 1d43c279a429c8284611e98e327a6049e971192d /httemplate/misc/cancel_cust.html | |
| parent | c223e0957b194e24dccbda5bbc29841385cc0961 (diff) | |
ACLs
Diffstat (limited to 'httemplate/misc/cancel_cust.html')
| -rw-r--r-- | httemplate/misc/cancel_cust.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html index 11ade7e15..94c23646c 100644 --- a/httemplate/misc/cancel_cust.html +++ b/httemplate/misc/cancel_cust.html @@ -45,6 +45,8 @@ if ( $cgi->param('error') ) { $curuser = $FS::CurrentUser::CurrentUser; +die "access denied" unless $curuser->access_right('Cancel customer'); + $cust_main = qsearchs( { 'table' => 'cust_main', 'hashref' => { 'custnum' => $custnum }, |
