[freeside-commits] freeside/httemplate/search report_receivables.cgi, 1.46, 1.47 report_receivables.html, 1.9, 1.10
Mark Wells
mark at wavetail.420.am
Wed Jun 17 18:17:11 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv11814/httemplate/search
Modified Files:
report_receivables.cgi report_receivables.html
Log Message:
Fix receivables report ACL checks and menu
Index: report_receivables.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_receivables.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- report_receivables.html 17 Jun 2009 06:43:08 -0000 1.9
+++ report_receivables.html 18 Jun 2009 01:17:09 -0000 1.10
@@ -35,6 +35,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Receivables report');
+ unless $FS::CurrentUser::CurrentUser->access_right('Receivables report')
+ or $FS::CurrentUser::CurrentUser->access_right('Financial reports');
</%init>
Index: report_receivables.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_receivables.cgi,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- report_receivables.cgi 17 Jun 2009 06:43:08 -0000 1.46
+++ report_receivables.cgi 18 Jun 2009 01:17:09 -0000 1.47
@@ -71,7 +71,8 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Receivables report');
+ unless $FS::CurrentUser::CurrentUser->access_right('Receivables report')
+ or $FS::CurrentUser::CurrentUser->access_right('Financial reports');
my @ranges = (
[ 0, 30 ],
More information about the freeside-commits
mailing list