'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' ],
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' ];