wiki:SqlFlexibleAuthStorePlugin

SQL authstore for authenticating against an SQL table

Description

This plugin provides an SQL authstore for authenticating against a database table and an IPermissionGroup provider, also from SQL. It also provides an AdminPanel where you can edit groups and group memberships.

For example, if you want the authentication of Trac to be done from a database, and possibly use these groups and users also for other applications, then this plugin lets you define users, groups and memberships in the Trac admin panel, using the AccountManager plugin.

It depends on AccountManager. In the accountmanager configuration panel you can create custom SQL queries 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.

Bugs/Feature Requests

Existing bugs and feature requests for SqlFlexibleAuthStorePlugin are here.

If you have any issues, create a new ticket.

defect

0 / 2

Download

Download the zipped source from here.

The plugin has been created for Trac 0.12, but it should work for Trac 0.11 as well.

Source

You can check out SqlFlexibleAuthStorePlugin from here using Subversion, or browse the source with Trac.

Installation

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.

Recent Changes

10932 by dolfandringa on 2011-11-23 10:41:06
  • added the sources for the SQLFlexibleAuthStorePlugin to subversion
10931 by dolfandringa on 2011-11-23 10:26:26
New hack SqlFlexibleAuthStorePlugin, created by dolfandringa
(more)

Author/Contributors

Author: dolfandringa
Maintainer: Dolf Andringa
Contributors:

Last modified 3 years ago Last modified on Feb 27, 2022, 9:24:04 PM