projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
read only access to message templates, RT#1`7477
[freeside.git]
/
httemplate
/
edit
/
process
/
msg_template.html
diff --git
a/httemplate/edit/process/msg_template.html
b/httemplate/edit/process/msg_template.html
index
47fe978
..
b19f5c5
100644
(file)
--- a/
httemplate/edit/process/msg_template.html
+++ b/
httemplate/edit/process/msg_template.html
@@
-9,9
+9,7
@@
%>
<%init>
die "access denied"
%>
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Edit templates')
- || $FS::CurrentUser::CurrentUser->access_right('Edit global templates')
- || $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right(['Edit templates','Edit global templates']);
sub precheck_callback {
my $cgi = shift;
sub precheck_callback {
my $cgi = shift;