#29686: contrib.auth.admin -  user_change_password() method send object to
has_change_permission()
---------------------------------------------+------------------------
               Reporter:  Alexander Todorov  |          Owner:  nobody
                   Type:  New feature        |         Status:  new
              Component:  contrib.auth       |        Version:  2.1
               Severity:  Normal             |       Keywords:
           Triage Stage:  Unreviewed         |      Has patch:  0
    Needs documentation:  0                  |    Needs tests:  0
Patch needs improvement:  0                  |  Easy pickings:  0
                  UI/UX:  0                  |
---------------------------------------------+------------------------
 Ticket for https://github.com/django/django/pull/10253.


 This makes overriding user_change_password() and mangling permissions
 easier because we have access to the object.

 For example when you'd like to use the admin panel to allow users to
 change their own passwords but not see the list of all users or anything
 else.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29686>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.d32088edd899fe424b978181528ab34d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to