X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_msg.html;h=88286aeee0ac5748645cc9ccb3e66d426e779e55;hp=64fae30bdef69222b15f4ef07b64f19ebf175bc3;hb=87ff794bc37c12c22ddc03c4182e4d37446df245;hpb=a10741a6cb9bdc97cd4d70f6611313a3108c354c 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;