#35959: Admin "Change password" Button Visible with Only "Can view user" Permission -------------------------------------+------------------------------------- Reporter: Dev Namdev | Owner: Sarah | Boyce Type: Bug | Status: closed Component: contrib.admin | Version: 5.1 Severity: Normal | Resolution: fixed Keywords: Permissions, Admin | Triage Stage: Ready for Interface, Change Password, View | checkin User, Permission Bug | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 1 -------------------------------------+------------------------------------- Changes (by nessita <124304+nessita@…>):
* resolution: => fixed * status: assigned => closed Comment: In [changeset:"d755a98b8438c10f3cff61303ceb1fe16d414e9b" d755a98]: {{{#!CommitTicketReference repository="" revision="d755a98b8438c10f3cff61303ceb1fe16d414e9b" Fixed #35959 -- Displayed password reset button in admin only when user has sufficient permissions. This change ensures that the "Reset password" button in the admin is shown only when the user has the necessary permission to perform a password change operation. It reuses the password hashing rendering logic in `display_for_field` to show the appropriate read-only widget for users with view-only access. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35959#comment:21> 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 view this discussion visit https://groups.google.com/d/msgid/django-updates/010701964443f5cf-07addf47-2d8f-424a-ac98-c7e4061ebf25-000000%40eu-central-1.amazonses.com.