summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_msg.html
diff options
context:
space:
mode:
authorivan <ivan>2011-12-09 01:02:10 +0000
committerivan <ivan>2011-12-09 01:02:10 +0000
commit87ff794bc37c12c22ddc03c4182e4d37446df245 (patch)
treedbb640a928bcad204ddd2ff288d07c2bb4ed698c /httemplate/search/cust_msg.html
parenta10741a6cb9bdc97cd4d70f6611313a3108c354c (diff)
Add "View email logs" ACL - "View customers of all agents" was definitely not the right ACL there
Diffstat (limited to 'httemplate/search/cust_msg.html')
-rw-r--r--httemplate/search/cust_msg.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_msg.html b/httemplate/search/cust_msg.html
index 64fae30bd..88286aeee 100644
--- a/httemplate/search/cust_msg.html
+++ b/httemplate/search/cust_msg.html
@@ -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;