Changes between Version 7 and Version 8 of SQLAuthStorePlugin
- Timestamp:
- Apr 19, 2015, 12:38:20 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SQLAuthStorePlugin
v7 v8 1 = SQL auth store plugin = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 == Description == 3 = SQL auth store plugin 4 5 == Description 4 6 5 7 This plugin defines a SQL auth store backend for AccountManagerPlugin. 6 8 7 Under `account-manager` section you can configure:8 * `hash_method` (hash method used for storing/reading passwords from the database, like `HtPasswdHashMethod` or `HtDigestHashMethod`)9 * `sql_auth_table` (name of the table in the database)10 * `sql_read_only` (should the plugin also allow updating the table through Trac, `true` or `false`)9 Under `account-manager` section of your `trac.ini` file you can configure the following: 10 * `hash_method`: hash method used for storing/reading passwords from the database, like `HtPasswdHashMethod` or `HtDigestHashMethod`. 11 * `sql_auth_table`: name of the table in the database. 12 * `sql_read_only`: should the plugin also allow updating the table through Trac, `true` or `false`. 11 13 12 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).14 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. 13 15 14 16 Table schema is simple: 15 17 * `username` 16 18 * `password` 17 * `admin` (if true, user will be both in `admins` and `users` permission groups, otherwise just `users`)19 * `admin`: if true, user will be both in `admins` and `users` permission groups, otherwise just `users`. 18 20 19 == Bugs/Feature Requests ==21 == Bugs/Feature Requests 20 22 21 23 Please use [https://github.com/trac-hacks/trac-sqlauthstore/issues GitHub] for any issues you have with [wiki:SQLAuthStorePlugin]. 22 24 23 == Download ==25 == Download 24 26 25 27 Download the zipped source from [https://github.com/trac-hacks/trac-sqlauthstore/archive/master.zip here]. 26 28 27 == Source ==29 == Source 28 30 29 31 You can clone [wiki:SQLAuthStorePlugin] from [https://github.com/trac-hacks/trac-sqlauthstore here] using git, or [https://github.com/trac-hacks/trac-sqlauthstore browse the source] on GitHub. 30 32 31 == Installation ==33 == Installation 32 34 35 Run the following to install this plugin: 33 36 {{{ 34 37 #!sh … … 38 41 For more information, please follow [http://trac.edgewall.org/wiki/TracPlugins#InstallingaTracPlugin documentation] on how to install Trac's plugins. 39 42 40 == Author/Contributors ==43 == Author/Contributors 41 44 42 45 '''Author:''' [wiki:mitar] [[BR]]