[Rt-commit] rt branch 5.0/config-redistribute-auto-generated-messages created. rt-5.0.3-516-g9660279ef3
BPS Git Server
git at git.bestpractical.com
Tue May 2 20:09:10 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 9660279ef3d14f2d0d084c5f3329ec1cee5885e3 (commit)
- Log -----------------------------------------------------------------
commit 9660279ef3d14f2d0d084c5f3329ec1cee5885e3
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