[freeside-commits] freeside/httemplate/view cust_msg.html, 1.2, 1.2.2.1

Ivan,,, ivan at wavetail.420.am
Thu Dec 8 17:02:12 PST 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv13150/httemplate/view

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	cust_msg.html 
Log Message:
Add "View email logs" ACL - "View customers of all agents" was definitely not the right ACL there

Index: cust_msg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_msg.html,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -w -d -r1.2 -r1.2.2.1
--- cust_msg.html	20 May 2011 20:19:44 -0000	1.2
+++ cust_msg.html	9 Dec 2011 01:02:10 -0000	1.2.2.1
@@ -38,7 +38,8 @@
 <%init>
 
 my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" if !$curuser->access_right('View customers of all agents');
+die "access denied" if !$curuser->access_right('View email logs'))
+                    && !$curuser->access_right('Configuration');
 
 my ($custmsgnum) = $cgi->keywords;
 $custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";



More information about the freeside-commits mailing list