diff options
Diffstat (limited to 'httemplate/search/cust_msg.html')
| -rw-r--r-- | httemplate/search/cust_msg.html | 3 |
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; |
