• 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.

No such method when attempting to delete user account until making this patch:

112c112
<     unless( $user->checkPasswd( $password ) ) {
---
>     unless( $user->checkPassword( $password ) ) {


this was fixed in SVN:9251; which version are you reporting this bug against?

twikibuilder@server:~/twiki/TWikiRelease04x00/lib/TWiki/UI$ svn diff -r 9250:9251 Manage.pm
Index: Manage.pm
===================================================================
--- Manage.pm   (revision 9250)
+++ Manage.pm   (revision 9251)
@@ -109,7 +109,7 @@
                                            @groups ) ] );
     }

-    unless( $user->checkPasswd( $password ) ) {
+    unless( $user->checkPassword( $password ) ) {
         throw TWiki::OopsException( 'attention',
                                     web => $webName,
                                     topic => $topic,

WN


Incidentally, I am trying to delete a user account from the command line as admin using

./manage.cgi -action deleteUserAccount -user luser

and this (now) results in a wrong password message, but admin shouldn't have to know user's password to delete it?


i'm not sure about that one (but best to report it as a separate bug). how are you authenticating as an a TWikiAdminGroup user capable of deleting an account?

WN


Sorry, I was reporting on 4.0.1, I see it fixed in 4.0.2. I was not authenticating but running from the command line and my perusal of the source and various comments and docs suggests that this automatically acquires admin privs. The docs do say that password is a required input for the deleteUserAccount action, I just don't see why it should be. It is a moot point until http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item2056 is resolved anyway.

ItemTemplate
Summary Typo in UI/Manage.pm
ReportedBy TWiki:Main.PeterScott
Codebase

SVN Range 4.0.1
AppliesTo Engine
Component

Priority Low
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-04-27 - WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback