Changes between Initial Version and Version 1 of SelfRegistration


Ignore:
Timestamp:
Mar 25, 2009, 2:56:09 AM (15 years ago)
Author:
simonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SelfRegistration

    v1 v1  
     1= Proposal number : ? Proposal title : Self-Registration System =
     2
     3|| '''Date''' || 2009/03/23 ||
     4|| '''Contact(s)''' || Simon Pigot ||
     5|| '''Last edited''' || [[Timestamp]] ||
     6|| '''Status''' || draft - complete in BlueNetMEST sandbox ||
     7|| '''Assigned to release''' || 2.4 ||
     8|| '''Resources''' || Available ||
     9
     10== Overview ==
     11
     12Registration of new users - assigning user name/password, entering their details in the !GeoNetwork Users database - is a fairly hefty manual administration task. This proposal is to add simple forms and a service to allow users to enter their own details, for !GeoNetwork to generate a user name and password and then email them to the new user.
     13
     14=== Proposal Type ===
     15 * '''Type''': User interface and core functionality additions
     16 * '''App''': !GeoNetwork
     17 * '''Module''': Add new services
     18
     19=== Links ===
     20 * This has been available in the BlueNetMEST sandbox for some time - tested by users in the !BlueNet project
     21
     22=== Voting History ===
     23 * None yet
     24
     25----
     26
     27== Motivations ==
     28
     29See overview.
     30
     31== Proposal ==
     32
     33A new link in the banner is added called 'Register' which is only visible to users that have not logged in. Clicking on this link brings up a form which accepts the user details as a Modalbox (Javascript widget) overlaid on the main page. The form is prepared by the user.register.service (an xslt only service). Information on the form (is checked and then submitted to the user.register.submit service. This service performs the following:
     34
     35 * generates a username from supplied firstname and surname and some digits if simple concatenation doesn't work and a password
     36 * checks to see that the mailServer/host and mailServer/port and a number of other parameters have been configured in the Administration->System administration screen. If they aren't self-registration fails.
     37 * checks to see whether the supplied email address and generated username are already present in the user database
     38 * inserts the user details into the user database - user is added as a registereduser to the predefined group called GUEST
     39 * email is sent to the user (and the geonetwork feedback email address) giving them the details and a link to the site
     40
     41See code in BlueNetMEST sandbox: src/org/fao/geonet/services/register/SelfRegister.java
     42
     43Results of registration including any errors are shown to the user. See the service definition for user.register.submit in the BlueNetMEST sandbox: web/geonetwork/WEB-INF/config.xml
     44
     45GUEST group is treated as a group that any user can assign privileges too (same as for all and intranet). This requires changes to the privileges display.
     46
     47=== Backwards Compatibility Issues ===
     48
     49The groups database should have the GUEST group predefined. Existing 2.2 installations will not have this.
     50
     51== Risks ==
     52
     53The 'Register' form should be protected from scripting.
     54
     55== Participants ==
     56 * !IntelliSense - wrote the original version
     57 * Craig Jones - some enhancements
     58 * Simon Pigot - some enhancements
     59