r5 - 02 Jan 2008 - 22:14:54 - KennethLavrsenYou are here: TWiki >  Codev Web > ChangeProposal > FeatureRequest > AddDataToRegistrationHandler
Tags:
, create new tag

Feature Proposal: add the registration data to the parameters of the registrationHandler

Motivation

it converts the registrationHandler from an almost useless 'kinda login' handler, to one that can be used to implement things like AddUserToGroupsOnRegistration.

Description and Documentation

After the new user's topic is created, the Registration code calls

        $session->{plugins}->registrationHandler( $data->{WebName},
                                                  $data->{WikiName},
                                                  $data->{LoginName} );

This is a mostly unused handler, that could become much more useful, if we add a 4th parameter (or replace the 3 with one single parameter) $data. $data is a reference to a hash containing the validated version of the information from the TWikiRegistration? topic.

It will probably also be beneficial to refactor the Bulk Registration to use the same code paths as the normal registration.

Examples

Impact

Implementation

-- Contributors: SvenDowideit - 15 Dec 2007

Discussion

I would like to see just a little more spec for the community to be able to decide on this. I add myself to KennethLavrsen to move it away from the 14 day table until spec is available.

I only expect another 1-2 lines of text defining "add the registration data to the parameters of the registrationHandler".

Did you forget to add the DateOfCommitment or is it just because the topic is not ready yet?

-- KennethLavrsen - 17 Dec 2007

yes, this topic was not ready smile

-- SvenDowideit - 17 Dec 2007

Accepted by 14 day rule.

-- KennethLavrsen - 02 Jan 2008

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo