Changes between Version 18 and Version 19 of AccountManagerPlugin/Modules


Ignore:
Timestamp:
Aug 11, 2012, 3:58:10 PM (2 years ago)
Author:
hasienda
Comment:

content moved to new dedicated wiki page AccountManagerPlugin/RegistrationInspector

Legend:

Unmodified
Added
Removed
Modified
  • AccountManagerPlugin/Modules

    v18 v19  
    166166----
    167167
    168 == !RegistrationModule ==
    169  '''Package''':: acct_mgr.web_ui
    170 
    171 Enables users to register a new account.  It adds a “Register” link on the same menu bar as the “Login” link.
    172 
    173 [[Image(AccountManagerPlugin:register.png)]]
    174 
    175 === Configuration ===
    176 {{{
    177 #!cfg
    178 [components]
    179 acct_mgr.web_ui.RegistrationModule = enabled
    180 }}}
    181 
    182 > '''Warning:''' You must enable one of the [wiki:AccountManagerPlugin/AuthStores password storage modules] for the Registration Module to work.
    183 
    184 '''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.]
    185 
    186 ----
    187 
    188 == !EmailVerificationModule ==
    189  '''Package''':: acct_mgr.web_ui
    190 
    191 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:
    192 
    193 === Configuration ===
    194 {{{
    195 #!cfg
    196 [components]
    197 acct_mgr.web_ui.EmailVerificationModule = enabled
    198 acct_mgr.notification.AccountChangeListener = enabled
    199 }}}
    200 
    201 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.
    202 
    203 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.
    204 
    205 Note that if you don't want to enforce entering a valid email on registration, you may want to disable this component. An option
    206 {{{
    207 #!cfg
    208 [account-manager]
    209 verify_email = false
    210 }}}
    211 for switching this off easily, to restore the old behavior of AccountManagerPlugin by default, is available since changeset [9304] as well.
    212 
    213 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 webui will still say they got sent!).
     168See also: AccountManagerPlugin/RegistrationInspector, CookBook/AccountManagerPluginConfiguration