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

i noticed that TWiki Guest is definable

from Users.pm

    # create the guest user
    $this->createUser( $TWiki::cfg{DefaultUserLogin},
                       $TWiki::cfg{DefaultUserWikiName} );

but this i also noticed

TWiki-4.0.0-beta6$ find lib/ -name '*.pm' -exec grep -H 'UnknownUser' '{}' \;  
lib/TWiki/Store/RcsFile.pm:                  user    => 'UnknownUser', 
lib/TWiki/Search.pm:            my $revUser = $topicInfo->{$topic}->{editby} || 'UnknownUser';

I'm thinking of moving all the 'special' users like this into the cfg like guest


i'm writing a User,Users,Password,Tempate backend for a customer that gets all user and groups info from a database. There are expected to be no user/group topics at all.

Ideally, i'd like to have the changes logged directly to the natrul spaced out username as registered in the other system, but as TWiki spasses out with that, I'm replaceing all spaces with _ for now.

i am also considering that for mods like this, it would look better if TWikiContributor user gets rendered as 'TWiki_Contributor' so its consistent with the other users. I think that the way that the lookup works, I'll be able to to so, once I define these users in the cfg, with the login name == the name in the META

  1. does anyone know of more 'special' usernames that i should be aware of
  2. same thing for groups
  3. have we got them all doccoed?
    • Should this be fixed for TWiki-4? - i'm working under the assumption that i should only fix actual bugs / inconsistencies that will cause less involved users/admins/developers problems. (the testing load alone should disqualify it smile
  4. I'm wondering if we're not better off storing username in the log/.changes/META

I think TWikiAdminGroup and UnknownUser are the only ones.

I needed UnknownUser because I had to distinguish between TWikiGuest, who is a potentially logged-in user, and a real nonexistent user. TWikiAdmin is a user that I probably should have created, but didn't because of the security implications. I decided to use TWikiAdminGroup instead (though clearly got that wrong! See elsewhere).

TWikiContributor was intended to link to the TWikiContributor topic, so a click takes you to the list of contributors.

Don't forget TWikiRegistrationAgent

I don;t see anything specific here in the way of proposals, so I'm discarding it. If you add specific proposals, feel free to reopen it.


Summary there are hard coded 'special' users (like 'Unknownuser')
ReportedBy TWiki:Main.SvenDowideit

SVN Range Sun, 22 Jan 2006 build 8439
AppliesTo Engine

Priority Normal
CurrentState No Action Required

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