[Rt-commit] rt branch, 4.2/user-format-role, created. rt-4.2.6-179-gf2804ab
Alex Vandiver
alexmv at bestpractical.com
Wed Mar 4 17:15:12 EST 2015
The branch, 4.2/user-format-role has been created
at f2804ab9c414555034f136fc291f114324091ad1 (commit)
- Log -----------------------------------------------------------------
commit f2804ab9c414555034f136fc291f114324091ad1
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Sep 9 16:08:39 2014 -0400
Add the "role" option to the preferences list
b12af0df added a new "role" user formatter; however, it neglected to add
it to the list of user formatters in RT::Config. This means that if the
system default was changed to not be "role", users cannot switch back to
it.
Add the missing "role" as a possible preference for UsernameFormat.
diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 4329fdb..7d4c4ff 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -179,8 +179,9 @@ our %META;
Widget => '/Widgets/Form/Select',
WidgetArguments => {
Description => 'Username format', # loc
- Values => [qw(concise verbose)],
+ Values => [qw(role concise verbose)],
ValuesLabel => {
+ role => 'Privileged: usernames; Unprivileged: names and email addresses', # loc
concise => 'Short usernames', # loc
verbose => 'Name and email address', # loc
},
-----------------------------------------------------------------------
More information about the rt-commit
mailing list