TopicUserMappingContrib

User management using data stored in topics

The User Mapping Manager interface provides services for mapping between a 'user identity' as used when talking to an external authentication provider, an internal canonical user ID, and the displayed name used to identify the user in topics. This is the default TopicUserMapping in which user information is stored in topics - one per user, and then any mapping needed is done using the WikiUsers topic in the Main.

It includes the topics that are used when registering and managing users and groups via Foswiki:

If you are developing a non-topic based User mapper, you might like to consider removeing or replacing the files installed by this Contrib.

Adding and deleting users

Users are added using the default registration process in Foswiki. To delete a user (admins only),

  1. Edit the .htpasswd file to delete their entry (see configure for the location
  2. Remove their topic files: data/Main/FredQuimby.txt and data/Main/FredQuimby.txt,v
  3. Remove the FredQuimby line from the Main.WikiUsers topic
  4. Remove user from all groups and from all the ALLOWWEB/ALLOWTOPIC... declarations, if any.
    ALERT! Note: Otherwise this will leave a security hole, as the first person to re-register with this name will be granted the permissions of the previous user.

Settings

The TopicUserMappingContrib specific settings have not yet been moved out of the standard Foswiki.spec. This will be done in a future release.

Installation Instructions

It's a part of the default distribution of the Foswiki Core.

Contrib Info

Contrib Author(s): Copyright (C) 2007-2013 Sven Dowideit, SvenDowideit@WikiRing.com and Project Contributors.
License: GPL (Gnu General Public License)
Version: v4.3.7
Release: 4.3.7
Change History:  
4.3.7 (31 Jan 2013) Foswikitask:Item12329: Document core change: Code that deletes stale registrations needs it's own expiration timer.
4.3.6 (28 Nov 2012) Foswikitask:Item11821: Don't filter user names beginning with "Web" from BulkResetPassword
Foswikitask:Item11923: Better logging of changes to group membership.
Foswikitask:Item12003: FAQRebuildingWikiUsersTopic creates an invalid WikiUsers topic
Foswikitask:Item12006: Don't generate edit links for NobodyGroup
Foswikitask:Item11965: Correct "undefined variable" errors in mailnotify
Foswikitask:Item11746: Change email address instructions were incorrect
Foswikitask:Item11267: Convert to perl version strings.
4.3.5 (06 Apr 2012) Foswikitask:Item652, Foswikitask:Item710, Foswikitask:Item2196: Cleanup partial registrations after failure.
Foswikitask:Item10238: Allow UI to create empty groups
Foswikitask:Item11196: Add error messages translations for registraion and group UI errors
Foswikitask:Item11501: Validate all registration fields
Foswikitask:Item11349: Improve performance
4.3.4 (20 Dec 2011) Foswikitask:Item11373: Check for duplicate member of groups was incorrect
4.3.3 (05 Dec 2011) Foswikitask:Item10815: Warn if registering user as admin when auto group membership is enabled.
Foswikitask:Item11208: Throw error if group name not *Group
Foswikitask:Item10906: Force user names to the %USERSWEB% - avoid linking errors if username might be interpreted as a Web.Topic name
Other minor code cleanup and documentation updates
4.3.2 (11 Apr 2011) Foswikitask:Item10304 - AdminGroup moved from this extension to Foswiki core to avoid it gets overwritten when upgrading the contrib from configure
Foswikitask:Item10590 - ChangeEmailAddress has query error
Foswikitask:Item10536 - UserRegistration WikiName JS support for all skins
Foswikitask:Item92: Document admin behaviour of ChangeEmailAddress
Foswikitask:Item8876: Add admin help when registration disabled
Foswikitask:Item10131: TopicUserMapping loses creation date when updating existing user if the admin had changed the {DefaultDateFormat}
Foswikitask:Item9437: Dot after wikiwebmasters email becomes part of mailto
Foswikitask:Item9851, Foswikitask:Item9848, Foswikitask:Item9810:
Fixed problem with not being able to remove users when they has Main suffix
Fixed problem where users were seen as different if prefixed by Main when added.
Correct reporting when duplicate user is attempted added
Removed code no longer used
The creator of new group is not added to group if the user is admin unless he specifies it
Fixed problem with removing duplicate users
4.3.1 (10 Nov 2010) Foswikitask:Item9415 - Documentation updates.
4.3.0 (13 Mar 2010) Made UserRegistration customizable.
4.2.4 (25 Feb 2010) Updated documentation in UserForm.
4.2.3 (20 Sep 2009) Foswiki 1.0.7 version
4.2.2 (16 Dec 2008) Foswiki version
4.2.1 (03 Aug 2008) Distributed with TWiki 4.2.1
4.2.0 (22 Jan 2008) Distributed with TWiki 4.2.0
Dependencies:
NameVersionDescription
Foswiki::Contrib::PatchFoswikiContrib >=1.3Required for old Foswiki versions.
Contrib Home: http://foswiki.org/Extensions/TopicUserMappingContrib
Support: http://foswiki.org/Support/TopicUserMappingContrib

Topic revision: r1 - 18 Nov 2013, UnknownUser
 
This site is powered by FoswikiCopyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki? Send feedback