wiki:AccountManagerPlugin

Version 14 (modified by anonymous, 8 years ago) (diff)

--

Account Manager Plugin

Description

Trac plugin to enable users to register new accounts or manage their existing account.

Bugs/Feature Requests

Existing bugs and feature requests for AccountManagerPlugin are here.

If you have any issues, create a new ticket.

Download

AccountManager for 0.9

Note: remove the ".zip" extension from the filename before installing it as described in trac:TracPlugins].

Note: Even if the plugin is installed globally, as described in TracPlugins, unless a copy of TracAccountManager-0.1.2.egg is in the plugins directory of each trac project, you will get an error ending in

Traceback (innermost last):
  File "csparse.c", line 294, in cs_parse_file()
  File "neo_hdf.c", line 1982, in hdf_search_path()
NotFoundError: Path login.cs not found

Source

Browse the source

Subversion Checkout:

svn co http://trac-hacks.org/svn/accountmanagerplugin/0.9

Example

Requires setup in trac.ini Note the passwd/digest file should be inside your Trac environment and writable by your apache user.

For htpasswd:

[account-manager]
password_format = htpasswd
password_file = /var/trac/trac.htpasswd

For htdigest:

[account-manager]
password_format = htdigest
password_file = /var/trac/trac.htdigest
htdigest_realm = TracRealm

Form-based Login

The plugin supports allowing users to login via a form instead of HTTP authentication. You will need to turn off the default Trac login handler and enable the handler from the AccountManagerPlugin in your trac.ini file:

[components]
trac.web.auth.LoginModule = disabled
acct_mgr.web_ui.LoginModule = enabled

Moving from basic authentication

If you are already using Trac basic authentication, you might need to register each user again, althought the permissions those users were granted will be preserved. Also, remember to remove or comment out the directory entry matching "login" in your trac.conf file.

Author/Contributors

Author: mgood
Contributors:

TagIt(plugin,mgood,alpha,0.9)?

Attachments (9)

Download all attachments as: .zip