From: jeff Date: Fri, 17 Aug 2007 13:59:36 +0000 (+0000) Subject: access control X-Git-Tag: TRIXBOX_2_6~396 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=1aa3365a48cd75b0e54607c30179ad411ddefe5a;p=freeside.git access control --- 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;