-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Feb 13, 2006, at 11:39 AM, Jørn A Hansen wrote:
There is also the Trac plugins called WebAdmin [1] (handling the 'what not' part) and AccountManagerPlugin [2] (handling the 'addition of users' part)
Toolbox (the name of my app) actually requires WebAdmin. It compares the users for a given project with that project's Apache config file (think "require users"...) and updates the Apache config as needed (it should just be updating an .htaccess, probably). It does the same for the UNIX group. All user administration is done via WebAdmin's permission page; groups have a "IS_GROUP" permission so it doesn't get confused that a group with no members is actually a user, and there is a "SOURCE_COMMIT" permission which does what you expect. Read-only access to the repos is give via trac's own BROWSER_VIEW, as you might expect. The latter needs to be written. We don't need it here just yet, so I hadn't gotten around to it.
On the back-end, we do an LDAP lookup for the uid. If the user doesn't exist, no system account is created, nor is that user added to the Apache config. I would very, very much like to add a check in WebAdmin for this, but haven't had time (also my Python is functionally non-existent).
The AccountManagerPlugin is no doubt the better way to go, assuming someone wants to extend it to manage LDAP or a DB (#70). :-)
The secondary goal of Toolbox is to become something similar to Source Forge and to offer it to our students and staff for project hosting.
- -- Bryan Allen [EMAIL PROTECTED] http://bda.mirrorshades.net Cyberpunk is dead. Long live cyberpunk. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFD8MTj8DRlpnH/NmoRAp3qAKCMtbI3kQAE0/cIWeqyBON2HVEFqQCeM7TE 3cbbg5pvVtMKHx2ulhLw+Ho= =DFST -----END PGP SIGNATURE----- _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
