From 1aa3365a48cd75b0e54607c30179ad411ddefe5a Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 17 Aug 2007 13:59:36 +0000 Subject: [PATCH] access control --- httemplate/misc/process/timeworked.html | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.20.1