Opened 6 years ago

Last modified 6 years ago

#29686 closed Cleanup/optimization

contrib.auth.admin - user_change_password() method send object to has_change_permission() — at Initial Version

Reported by: Alexander Todorov Owned by: nobody
Component: contrib.auth Version: 2.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top