wiki:SqlFlexibleAuthStorePlugin

Version 7 (modified by figaro, 9 years ago) (diff)

Cosmetic changes, tagged with license

SQL authstore for authenticating against an SQL table

Description

This plugin provides an SQL authstore for authenticating against an SQL table and an IPermissionGroup 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.

defect

0 / 2

Download

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.

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.

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, then this plugin lets you define users, groups and memberships in the Trac admin panel, using the AccountManager plugin.

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: