wiki:SqlFlexibleAuthStorePlugin

Version 4 (modified by dolfandringa, 2 years ago) (diff)

--

SqlFlexibleAuthStorePlugin

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for SqlFlexibleAuthStorePlugin are here.

If you have any issues, create a new ticket.

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.

Installation

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.

Source

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

Example

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.

Recent Changes

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

Author/Contributors

Author: dolfandringa
Maintainer: dolfandringa
Contributors: