Tags:
create new tag
, view all tags

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

I am setting this to parked and no committed developer. Please feel free to flip that and own & implement.

-- PeterThoeny - 2010-08-01

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2010-08-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.