#2507: [patch] LDAPBackend in django/contrib/auth/backends.py
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Contrib apps
Version: | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 1
Needs_tests: 0 | Needs_better_patch: 1
--------------------------------+-------------------------------------------
Comment (by Scott Paul Robertson <[EMAIL PROTECTED]>):
I'll provide OpenLDAP testing once the patch gets posted. If you're still
fairly close to the original patch it should work just fine with OpenLDAP.
With user.get_profile(): I'm not familiar with the backend code for this.
I'm guessing you're think of basically providing a dictionary straight
from LDAP? If so I'd at least make it an optional feature.
Improving the group handling would be great. Considering the current patch
just checks for staff or admin status it'd be nice to provide better
control. Personally I'd go for flattening the groups.
We might want to bring this over to the dev list once the patch gets
posted since other people aren't watching the ticket.
--
Ticket URL: <http://code.djangoproject.com/ticket/2507#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---