diff options
author | jeff <jeff> | 2007-08-17 13:59:36 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-08-17 13:59:36 +0000 |
commit | 1aa3365a48cd75b0e54607c30179ad411ddefe5a (patch) | |
tree | 8492fb76c680218c7a30592105d67a1877396476 | |
parent | b82e06923394ce6e14d355167e0650db06ae3178 (diff) |
access control
-rw-r--r-- | httemplate/misc/process/timeworked.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/misc/process/timeworked.html b/httemplate/misc/process/timeworked.html index 078d645d1..b69c898e8 100644 --- a/httemplate/misc/process/timeworked.html +++ b/httemplate/misc/process/timeworked.html @@ -5,6 +5,9 @@ % } <%init> +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Time queue'); + my %multipliers = map { /^custnum(\d+)$/; ($cgi->param("custnum$1") => $cgi->param("multiplier$1")); } grep /^custnum\d+$/, $cgi->param; |