Difference: SourceCode (15 vs. 16)

Revision 162011-08-21 - TWikiContributor

Line: 228 to 228
 
Changed:
<
<
This package has smell factor of 36
>
>
This package has smell factor of 38
 

[[TWikiEngineDotPm][]]

Line: 1060 to 1060
 
Changed:
<
<
This package has smell factor of 4
>
>
This package has smell factor of 1
 

TWiki::UI::Upload

Line: 1076 to 1076
 
Changed:
<
<
This package has smell factor of 3
>
>
This package has smell factor of 4
 

TWiki::UserMapping

Line: 1199 to 1199
 
Changed:
<
<
This package has smell factor of 5
>
>
This package has smell factor of 6
 

TWiki::Users::HtPasswdUser

Line: 1224 to 1224
  This package doesn't smell
Added:
>
>

TWiki::Users::TWikiUserMapping

The User mapping is the process by which TWiki maps from a username (a login name) to a wikiname and back. It is also where groups are defined.

By default TWiki maintains user topics and group topics in the Main that define users and group. These topics are

  • TWikiUsers - stores a mapping from usernames to TWiki names
  • WikiName - for each user, stores info about the user
  • GroupNameGroup - for each group, a topic ending with "Group" stores a list of users who are part of that group.

Many sites will want to override this behaviour, for example to get users and groups from a corporate database.

This class implements the basic TWiki behaviour using topics to store users, but is also designed to be subclassed so that other services can be used.

Subclasses should be named 'XxxxUserMapping' so that configure can find them.

This package has smell factor of 14

 
Changed:
<
<
There were a total of 204 smells
>
>
There were a total of 219 smells
 
This site is powered by the TWiki collaboration platformCopyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.SourceCode.