Add "View email logs" ACL - "View customers of all agents" was definitely not the...
[freeside.git] / httemplate / search / cust_msg.html
index 64fae30..88286ae 100644 (file)
@@ -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;