Calling command line:
./manage -action deleteUserAccount -user luser -password secret
results in
Can't locate object method "remove" via package "TWiki::User"
(perhaps you forgot to load "TWiki::User"?) at lib/TWiki/UI/Manage.pm line 119.
That is in _removeUser() and calls
$user->remove();
I can't find any method in UI/User.pm that looks like it does the job this expects. What happened to it?
--
http://koala.ilog.fr/twikiirc/bin/irclogger_log/twiki?date=2006-04-08,Sat&sel=20#l16
In short, Sven ran out of time when implementing it.
-- [MC]
If I could then point out something that needs to be addressed when Sven gets to it... I get a notwikiuser exception on a valid user because I have PasswordManager set to none (require user directives in .htaccess force intranet login and the users have been BulkRegistered) and therefore no .htpasswd file. The code in question is
# check if user entry exists
if( $user && !$user->passwordExists()) {
throw TWiki::OopsException( 'attention',
web => $webName,
topic => $topic,
def => 'notwikiuser',
params => $user->stringify() );
in UI/Manage.pm. Probably need to use a different method from passwordExists.
I am not sure I agree with the rating of this as an enhancement given that an advertised capability fails with a code exception.
No Action. This feature is in 1.2, and is tested by exercising from the
AntiWikiSpamPlugin
--
Main.GeorgeClark - 04 Jan 2015 - 21:13