[Rt-commit] rt branch 5.0/config-redistribute-auto-generated-messages created. rt-5.0.4-52-g3a61e35df2

BPS Git Server git at git.bestpractical.com
Thu Jul 6 17:42:07 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/config-redistribute-auto-generated-messages has been created
        at  3a61e35df289be542bcc39cdb4e71504919248a0 (commit)

- Log -----------------------------------------------------------------
commit 3a61e35df289be542bcc39cdb4e71504919248a0
Author: Ronaldo Richieri <ronaldo at bestpractical.com>
Date:   Tue May 2 14:54:00 2023 -0300

    Add a dropdown with values for RedistributeAutoGeneratedMessages config

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 2cb614f825..aeaaaa5771 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -2058,7 +2058,15 @@ our %META;
         Widget => '/Widgets/Form/Integer',
     },
     RedistributeAutoGeneratedMessages => {
-        Widget => '/Widgets/Form/String',
+        Widget          => '/Widgets/Form/Select',
+        WidgetArguments => {
+            Values      => [qw(0 1 privileged)],
+            ValuesLabel => {
+                '0' => 'Do not redistribute machine generated correspondences', # loc
+                '1' => 'Redistribute machine generated correspondences to all', # loc
+                'privileged' => 'Redistribute machine generated correspondences only to privileged users', # loc
+            },
+        },
     },
     RTSupportEmail => {
         Widget => '/Widgets/Form/String',

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list