Changes between Version 1 and Version 2 of SQLAuthStorePlugin

Show
Ignore:
Author:
mitar (IP: 0.0.0.0)
Timestamp:
02/24/13 23:40:54 (3 months ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SQLAuthStorePlugin

    v1 v2  
    44 
    55This plugin defines a SQL auth store backend for AccountManagerPlugin. 
     6 
     7Under `account-manager` section you can configure: 
     8 * `hash_method` (hash method used for storing/reading passwords from the database) 
     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) 
     11 
     12For 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 
     14Table schema is simple: 
     15 * `username` 
     16 * `password` 
     17 * `admin` (if true, user will be both in `admins` and `users` permission groups, otherwise just `users`) 
    618 
    719== Bugs/Feature Requests ==