= SQL auth store plugin = == Description == This plugin defines a SQL auth store backend for AccountManagerPlugin. Under `account-manager` section you can configure: * `hash_method` (hash method used for storing/reading passwords from the database, like `HtPasswdHashMethod` or `HtDigestHashMethod`) * `sql_auth_table` (name of the table in the database) * `sql_read_only` (should the plugin also allow updating the table through Trac, `true` or `false`) For database connection Trac database connection is used. So the idea is that in the Trac database you create a table for users (or you can use something like PostgreSQL schema search path to combine multiple schemas together). Table schema is simple: * `username` * `password` * `admin` (if true, user will be both in `admins` and `users` permission groups, otherwise just `users`) == Bugs/Feature Requests == Please use [https://github.com/mitar/trac-sqlauthstore/issues GitHub] for any issues you have with [wiki:SQLAuthStorePlugin]. == Download == Download the zipped source from [https://github.com/mitar/trac-sqlauthstore/archive/master.zip here]. == Source == You can clone [wiki:SQLAuthStorePlugin] from [https://github.com/mitar/trac-sqlauthstore here] using git, or [https://github.com/mitar/trac-sqlauthstore browse the source] on GitHub. == Installation == {{{ pip install SQLAuthStorePlugin }}} For more information, please follow [http://trac.edgewall.org/wiki/TracPlugins#InstallingaTracPlugin documentation] on how to install Trac's plugins. == Author/Contributors == '''Author:''' [wiki:mitar] [[BR]] '''Maintainer:''' [wiki:mitar] [[BR]] '''Contributors:'''