I've worked up the beginnings of a Trac plugin that authenticates
against Django users. I've since determined that I'm not likely to use
it. So, is anyone interested in using and/or maintaining it? If so,
I'll throw it up on trac-hacks.org.

The basic functionality works. I can login to my django app and then
I'm instantly logged into trac (without retyping my username and
password). If I log out of my django app, I'm instantly logged out of
trac.

It works by getting the django session from the django cookie and
extracting the user from the django database. Of course, for this to
work, both the trac and django instances need to be on the same
machine (to access eachother) and behind the same domain (to access
the cookie). I also have the beginnings of some code to assign
permissions within django for trac via django's user groups. For some
undetermined reason I haven't been able to override the login/out
links in the  nav and there's some debug code that needs removed.

PS. I've cross-posted this to both django-users and trac-users as
there may be interest in each group. I'll try to copy both lists with
responses to any questions.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to