summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-17 17:44:25 +0100
committernessita <124304+nessita@users.noreply.github.com>2025-04-17 12:00:20 -0300
commitd755a98b8438c10f3cff61303ceb1fe16d414e9b (patch)
tree7fe508bdc927f8abe04fd2457abbb471daac6203 /tests/admin_scripts
parent8a0ad1ebe313a4f4fca6e9068c06ee400d15b8a4 (diff)
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.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions