• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Marking this deferred: an uncommitted patch that should be considered for Ed.

Doesn't work now: gets

Access Denied
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

Summary Reset passwd could add missing users to TWikiUsers (non-functioning patch)
ReportedBy MartinCleaver
SVN Range

AppliesTo Engine

Priority Low
CurrentState New

TargetRelease major
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2006-02-13 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback