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