NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.
Marking this deferred: an uncommitted patch that should be considered for Ed.

Doesn't work now: gets
Access Denied
Attention
Access check on Main.TWikiUsers failed. Action "CHANGE": access not allowed on topic.


mrjc@crack:twiki$ svn diff lib/TWiki/UI/Register.pm
Index: lib/TWiki/UI/Register.pm
===================================================================
--- lib/TWiki/UI/Register.pm    (revision 6619)
+++ lib/TWiki/UI/Register.pm    (working copy)
@@ -464,6 +464,11 @@
     foreach my $userName (@userNames) {
         $good = $good &&
           _resetUsersPassword( $session, $userName, $introduction, \$message );
+       # Ensure they are in TWikiUsers as well - this allows you to do a
+       # password reset to ensure someone is listed.
+       my $userObj = $session->{users}->findUser($userName);
+       $session->{users}->addUserToTWikiUsersTopic( $userObj,
+                                                    $session->{user} );
     }

     my $action = '';

Undeferred, post Dakar CC


this was fixed in foswiki 1.0.0

-- SvenDowideit - 20 May 2010

ItemTemplate edit

Summary Reset passwd could add missing users to TWikiUsers? (non-functioning patch)
ReportedBy MartinCleaver
Codebase
SVN Range
AppliesTo Engine
Component
Priority Low
CurrentState Closed
WaitingFor
Checkins
TargetRelease major
ReleasedIn 1.0.0
Topic revision: r4 - 20 May 2010 - 01:37:08 - SvenDowideit
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads