Changes between Version 8 and Version 9 of AccountManagerPlugin/RegistrationInspector
- Timestamp:
- Apr 3, 2016, 10:01:41 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AccountManagerPlugin/RegistrationInspector
v8 v9 1 [[PageOutline()]] 2 = New User Registration = 1 [[PageOutline(2-5,Contents)]] 3 2 4 == Involved Modules == 5 In recent development the following modules have been moved from `web_ui` to their own place: `register`, and the required component activation changed accordingly. 3 = New User Registration 4 5 == Involved Modules 6 7 In the newest version the following modules have been moved from `web_ui` to their own place called `register` and the required component activation changed accordingly. 6 8 7 9 For !AccountManager versions before `acct_mgr-0.4` use the following setting instead of the settings mentioned later on: 8 {{{ 9 #!cfg 10 {{{#!ini 10 11 [components] 11 12 acct_mgr.web_ui.RegistrationModule = enabled … … 13 14 }}} 14 15 15 === !RegistrationModule === 16 === !RegistrationModule 17 16 18 '''Package''':: acct_mgr.register 17 19 18 Enables users to register a new account. It adds a “Register” link on the same menu bar as the “Login”link.20 Enables users to register a new account. It adds a "Register" link on the same menu bar as the "Login" link. 19 21 20 22 [[Image(AccountManagerPlugin:register.png)]] 21 23 22 ==== Configuration ====23 {{{ 24 #!cfg 24 ==== Configuration 25 26 {{{#!ini 25 27 [components] 26 28 acct_mgr.register.RegistrationModule = enabled 27 29 }}} 28 30 29 >'''Warning:''' You must enable one of the [wiki:AccountManagerPlugin/AuthStores password storage modules] for the Registration Module to work.31 '''Warning:''' You must enable one of the [wiki:AccountManagerPlugin/AuthStores password storage modules] for the Registration Module to work. 30 32 31 '''Note:''' You must not enable `ignore_auth_case` in `trac.ini` as otherwise this module won ’t work. [''Update:'' This doesn't apply to `trunk` branch anymore. Use a revision at changeset [9286] or later to lift this limitation.]33 '''Note:''' You must not enable `ignore_auth_case` in `trac.ini` as otherwise this module won't work. '''Update:''' This doesn't apply to `trunk` branch anymore. Use a revision at changeset [9286] or later to lift this limitation. 32 34 33 === !EmailVerificationModule === 35 === !EmailVerificationModule 36 34 37 '''Package''':: acct_mgr.register 35 38 36 39 If you enable this, users will be sent an email with a verification code to enter, to approve it is really their own email address: 37 40 38 ==== Configuration ====39 {{{ 40 #!cfg 41 ==== Configuration 42 43 {{{#!ini 41 44 [components] 42 45 acct_mgr.register.EmailVerificationModule = enabled … … 44 47 }}} 45 48 46 Until they entered the verification code on the URL sent with the email, their permissions will be restricted (even if they have the TRAC_ADMIN privilege, they won't be able to access anything exceeding the standard privileges of ''authenticated'' users). ''Update:'' After changeset [9304] ACCTMGR_ADMIN (and TRAC_ADMIN, as it inherits it among all other privileges) won't be bothered with the verification procedure.49 Until they entered the verification code on the URL sent with the email, their permissions will be restricted. Even if they have the TRAC_ADMIN privilege, they won't be able to access anything exceeding the standard privileges of ''authenticated'' users. '''Update:''' After changeset [9304] ACCTMGR_ADMIN (and TRAC_ADMIN, as it inherits it among all other privileges) won't be bothered with the verification procedure. 47 50 48 51 This '''has been added as a strict requirement now''' as suggested by ticket #5509 to `trunk` code with changeset [9277], but was not enforced before, so verification only happened, if an email had been specified on registration. In other words, if some user registered w/o specifying an email address, this was possible and an unrestricted account was created without requiring further actions. 49 52 50 53 Note that if you don't want to enforce entering a valid email on registration, you may want to disable this component. An option 51 {{{ 52 #!cfg 54 {{{#!ini 53 55 [account-manager] 54 56 verify_email = false … … 58 60 As shown in the configuration above, you'll have to enable the accountchangelistener component as well. Without it, verification emails will be silently ignored (but the web-UI will still say they got sent!). 59 61 60 == Modular Registration Checks == 61 === Configuration === 62 == Modular Registration Checks 63 64 === Configuration 65 62 66 Since `acct_mgr-0.4` you have control over number and order of registration checks through an option in `trac.ini` (showing default value here): 63 {{{ 64 #!cfg 67 {{{#!ini 65 68 [account-manager] 66 69 register_check = BasicCheck, EmailCheck, RegExpCheck, UsernamePermCheck … … 71 74 To specify the regular expression against which email addresses are checked if !RegExpCheck was selected, use: 72 75 73 {{{ 74 #!cfg 76 {{{#!ini 75 77 [account-manager] 76 78 email_regexp = your_regex 77 79 }}} 78 80 79 === Interface Definition ===80 {{{ 81 #!python81 === Interface Definition 82 83 {{{#!python 82 84 class IAccountRegistrationInspector(Interface): 83 85 """An interface for Components, that wish to participate in examining … … 105 107 }}} 106 108 107 === Related external resources === 108 There are some 3rd-party extensions to the registration module/process: 109 === Related external resources 110 111 There are some third-party extensions to the registration module/process: 109 112 110 113 * [wiki:GlobalRegisterPlugin GlobalRegisterPlugin] - no check, just adds a hint about user store being shared for all Trac environments at the same host 111 114 * [wiki:RecaptchaRegisterPlugin RecaptchaRegisterPlugin] - reCAPTCHA support for the registration page 112 * [wiki:SimpleCaptchaPlugin SimpleCaptchaPlugin] - captcha driven by Skimpy Gimpy (uses an [wiki:RegistrationConfirmationPatch alternative extension point interface])115 * [wiki:SimpleCaptchaPlugin SimpleCaptchaPlugin] - captcha driven by Skimpy Gimpy; uses an [wiki:RegistrationConfirmationPatch alternative extension point interface] 113 116 * [wiki:TracCaptchaPlugin TracCaptchaPlugin] - modular reCAPTCHA support, not only for the registration page 114 117 115 118 Related resources with different focus: 116 119 * [wiki:MathCaptchaPlugin MathCaptchaPlugin] - only for ticket edits and new ticket submission 117 * [wiki:TracRecaptchaPlugin TracRecaptchaPlugin] - old (obsolete?) reCAPTCHA support, only for tickets