[freeside-commits] freeside/httemplate/search cust_msg.html, 1.3, 1.3.2.1

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


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

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/search/cust_msg.html,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -w -d -r1.3 -r1.3.2.1
--- cust_msg.html	1 Jul 2011 05:33:55 -0000	1.3
+++ cust_msg.html	9 Dec 2011 01:02:10 -0000	1.3.2.1
@@ -41,7 +41,8 @@
 <%init>
 #hmm...
 die "access denied"
-  unless $FS::CurrentUser::CurrentUser->access_right('View customers of all agents');
+  unless $FS::CurrentUser::CurrentUser->access_right('View email logs')
+      || $FS::CurrentUser::CurrentUser->access_right('Configuration');
 
 my $conf = new FS::Conf;
 



More information about the freeside-commits mailing list