X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fmsg_template.html;h=252ee1ff83f5c02ae60660e856fad0bfe0697f5e;hp=331906ccffc8619e7cac93ef23e03dbe90848c2c;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hpb=9569b2f1e6147f97bfacb41bc94c6605eb59206f diff --git a/httemplate/browse/msg_template.html b/httemplate/browse/msg_template.html index 331906ccf..252ee1ff8 100644 --- a/httemplate/browse/msg_template.html +++ b/httemplate/browse/msg_template.html @@ -9,7 +9,7 @@ 'disableable' => 1, 'disabled_statuspos' => 2, 'agent_virt' => 1, - 'agent_null_right' => 'Edit global templates', + 'agent_null_right' => ['Edit global templates','Configuration'], 'agent_pos' => 3, 'header' => [ 'Name' ], 'fields' => [ 'msgname' ], @@ -20,7 +20,8 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Edit templates') - || $FS::CurrentUser::CurrentUser->access_right('Edit global templates'); + || $FS::CurrentUser::CurrentUser->access_right('Edit global templates') + || $FS::CurrentUser::CurrentUser->access_right('Configuration'); my $link = [ "${p}edit/msg_template.html?", 'msgnum' ];