Restrict Password Change
jrglasgow - November 6, 2008 - 02:54
At Tribute Media we wanted to be able to allow some users to add other users, but not change any user's password.
This module:
- adds a new permission 'change other users password'
- when the user_profile_form is loaded it checks to see if the current user has the proper permission or if they are editing their own account, otherwise it removes the password change option
- there would be no point restricting the ability to change a user's password if they can still change the user's e-mail address, this option is removed as well
- this also removes the option to delete a user
