From bd2273ebba5914a07cfa60e0e44739d6a8d76e53 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 17 Aug 2010 07:00:24 +0000 Subject: [PATCH] allow Configuration right to see global message templates, avoid weird surprises on upgrade --- httemplate/browse/msg_template.html | 2 +- httemplate/edit/msg_template.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/browse/msg_template.html b/httemplate/browse/msg_template.html index 0cd33c797..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' ], diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index 460f4dcc2..a0030cedd 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -5,7 +5,7 @@ 'viewall_dir' => 'browse', 'agent_virt' => 1, 'agent_null' => 1, - 'agent_null_right' => 'Edit global templates', + 'agent_null_right' => ['Edit global templates', 'Configuration'], 'fields' => [ 'msgname', 'subject', -- 2.11.0