allow Configuration right to see global message templates, avoid weird surprises...
authorivan <ivan>
Tue, 17 Aug 2010 07:00:48 +0000 (07:00 +0000)
committerivan <ivan>
Tue, 17 Aug 2010 07:00:48 +0000 (07:00 +0000)
httemplate/browse/msg_template.html
httemplate/edit/msg_template.html

index 0cd33c7..252ee1f 100644 (file)
@@ -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' ],
index 460f4dc..a0030ce 100644 (file)
@@ -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',