Changes between Version 1 and Version 2 of CookBook/AccountManagerPluginConfiguration


Ignore:
Timestamp:
Jun 26, 2011, 1:12:23 PM (13 years ago)
Author:
Steffen Hoffmann
Comment:

move in modified example configuration from dedicated SessionStore wiki page

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/AccountManagerPluginConfiguration

    v1 v2  
    77
    88== Basic configuration/Kickstart ==
     9=== !HtPasswdStore ===
     10=== !HtDigestStore ===
     11=== !SessionStore ===
     12{{{
     13[components]
     14acct_mgr.admin.* = enabled
     15acct_mgr.api.* = enabled
     16acct_mgr.db.sessionstore = enabled
     17acct_mgr.htfile.htdigeststore = disabled
     18acct_mgr.htfile.htpasswdstore = disabled
     19acct_mgr.http.httpauthstore = disabled
     20acct_mgr.notification.* = enabled
     21acct_mgr.pwhash.htdigesthashmethod = enabled
     22acct_mgr.pwhash.htpasswdhashmethod = disabled
     23acct_mgr.svnserve.* = enabled
     24acct_mgr.svnserve.svnservepasswordstore = disabled
     25acct_mgr.web_ui.* = enabled
     26trac.web.auth.loginmodule = disabled
    927
     28[account-manager]
     29hash_method = HtDigestHashMethod
     30password_store = SessionStore
     31}}}
     32
     33Create the first user through browser-based registration enabled by following additional lines in `components` section of `trac.ini`:
     34{{{
     35[components]
     36acct_mgr.web_ui.RegistrationModule = enabled
     37}}}
     38
     39Don't add another `components` section, just the configuration line with 'enabled' into an existing `components` section. After user creation you may choose to disable registration by uncommenting the [AccountManagerPlugin#RegistrationModule RegistrationModule] setting above or changing it to:
     40{{{
     41[components]
     42;need this for first user
     43acct_mgr.web_ui.RegistrationModule = disabled
     44}}}
     45Or just use the plugins admin page form Trac's web interface, after you've given admin priviledges to the first user you created.
     46
     47=== Award an existing user account for Trac admin ===
     48{{{
     49trac-admin /path/to/env permission add <username> TRAC_ADMIN permission list <username>
     50}}}
     51
     52=== Goodies ===
     53There are some misc options you may want to set/unset depending on your requirements:
     54||'''Option'''||'''Default Value'''||'''Recommendation'''||
     55||||||
    1056
    1157== Advanced configurations ==
     58=== Password Reset ===
    1259=== Account Locking ===
    1360 * new feature, development code will be in `trunk` soon