projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "View email logs" ACL - "View customers of all agents" was definitely not the...
[freeside.git]
/
httemplate
/
view
/
cust_msg.html
diff --git
a/httemplate/view/cust_msg.html
b/httemplate/view/cust_msg.html
index
a584610
..
0992d8a
100755
(executable)
--- a/
httemplate/view/cust_msg.html
+++ b/
httemplate/view/cust_msg.html
@@
-38,7
+38,8
@@
readonly=1 cols=80 rows=20>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" if !$curuser->access_right('View customers of all agents');
+die "access denied" if !$curuser->access_right('View email logs'))
+ && !$curuser->access_right('Configuration');
my ($custmsgnum) = $cgi->keywords;
$custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";
my ($custmsgnum) = $cgi->keywords;
$custmsgnum =~ /^(\d+)$/ or die "illegal custmsgnum";