Mailing List Archive

rt branch, 5.0/disable-password-option-for-authtoken, repushed
The branch 5.0/disable-password-option-for-authtoken was deleted and repushed:
was 264f3ddda79092bf030cd152db6d7fb473cfb602
now eada50f40613a7651bd1d315e091ee899e489fa5

1: 264f3ddda7 ! 1: eada50f406 Add config option to disable password for auth tokens
@@ -15,8 +15,8 @@

+
+If you have a mix of local and external authentication you can disable
-+requiring a password to create or edit tokens with the following line
-+in /opt/rt4/etc/RT_SiteConfig.pm :
++requiring a password to create tokens with the following line
++in RT_SiteConfig.pm :
+
+ Set($DisablePasswordForAuthToken, 1);
+
@@ -24,6 +24,47 @@
You can find more information about tokens in L<RT::Authen::Token>.

=head1 External Authentication
+
+diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
+--- a/etc/RT_Config.pm.in
++++ b/etc/RT_Config.pm.in
+@@
+ are not in LDAP can still be created when they email in.
+ See L<RT::Authen::ExternalAuth> for details.
+
++=item C<$DisablePasswordForAuthToken>
++
++If you have a mix of local and external authentication you can disable
++requiring a password to create tokens with the following line
++in RT_SiteConfig.pm. You can find more information about tokens
++in L<RT::Authen::Token>.
++
+ =back
+
++=cut
++
++Set($DisablePasswordForAuthToken, 0);
++
+
+ =head2 Initialdata Formats
+
+
+diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
+--- a/lib/RT/Config.pm
++++ b/lib/RT/Config.pm
+@@
+ Widget => '/Widgets/Form/Boolean',
+ },
+
++ DisablePasswordForAuthToken => {
++ Immutable => 1,
++ Widget => '/Widgets/Form/Boolean',
++ },
++
++
+ ExternalSettings => {
+ Immutable => 1,
+ Obfuscate => sub {

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
--- a/lib/RT/Interface/Web.pm

_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
rt branch, 5.0/disable-password-option-for-authtoken, repushed [ In reply to ]
The branch 5.0/disable-password-option-for-authtoken was deleted and repushed:
was fe67f7888fe0c407f38a896bab0184af26412885
now 92300de6dc1cd4498ce625154d0290f691116986

1: eada50f406 = 1: eada50f406 Add config option to disable password for auth tokens
2: 90bbcae919 = 2: 90bbcae919 Add flag to not hide configuration otherwise masked as password
3: fe67f7888f ! 3: 92300de6dc Add flag to not hide new field to disable password for auth tokens
@@ -1,13 +1,19 @@
Author: Aaron Trevena <ast@bestpractical.com>

Add flag to not hide new field to disable password for auth tokens
+
+ Allow editing of the new disable password for auth token field
+
+ fixup immutable new token config

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@
+ },
+
DisablePasswordForAuthToken => {
- Immutable => 1,
+- Immutable => 1,
Widget => '/Widgets/Form/Boolean',
+ DoNotObfuscate => 1,
},

_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit