|Version 5 (modified by dolfandringa, 5 years ago) (diff)|
This plugin provides an SQL authstore for authenticating against an SQL table and an PermissionGroup provider, also from SQL. It also provides an AdminPanel where you can edit groups and group memberships. It depends on AccountManager. In the accountmanager configuration panel you can create custom sql query's used to find the users, groups and memberships and edit them. Sane defaults are provided though, as is an sql file in the source code with which you can create the tables. The code was started by copying the HtGroupEditor and the SQLAuthStore plugins.
If you have any issues, create a new ticket.
Download the zipped source from [download:sqlflexibleauthstoreplugin here].
The plugin has been created for trac 0.12, but it should work for trac 0.11 as well.
Just download the source, and build and install the egg file. In the source directory in sqlflexibleauthstore/sql there is an sql file for creating the necessary tables, if you don't have your own tables already.
If you want the authentication of trac to be done from an sql database, and possibly use these groups and users also for other applications, this plugin let's you define users, groups and memberships in the trac admin panel, using the accountmanager plugin.