I've posted this here: http://trac-hacks.org/wiki/DjangoAuthIntegration
Note, I have not committed anything to svn. Scroll down to the bottom for the attached file. If anyone has any questions, please email me directly as I only subscribe to the digest for the django-users list and nothing for the trac-users list. On Dec 20, 3:38 pm, Dirk Eschler <[EMAIL PROTECTED]> wrote: > On Donnerstag, 20. Dezember 2007, Waylan Limberg wrote: > > > > > 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. > > Hello Waylan, > > please throw it up! :) > > I've been looking for something like that for quite some time. > > Best Regards, > Dirk Eschler > > -- > Dirk Eschler <mailto:[EMAIL PROTECTED]>http://www.krusader.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---