[freeside-commits] freeside/httemplate/misc/process timeworked.html, 1.1, 1.2

Jeff Finucane,420,, jeff at wavetail.420.am
Fri Aug 17 06:59:41 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail:/tmp/cvs-serv18362

Modified Files:
	timeworked.html 
Log Message:
access control

Index: timeworked.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/timeworked.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- timeworked.html	16 Aug 2007 13:40:45 -0000	1.1
+++ timeworked.html	17 Aug 2007 13:59:36 -0000	1.2
@@ -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;
 



More information about the freeside-commits mailing list