Sometimes we wanted to be able to allow some users to add other users,
but not change any user's 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.
This module adds few new permissions:
* change other users password
* change own password
* reset password by request link
* change other users username
* change other users email
* delete other users
* block other users
(*) An image with permissions was included.
Project page:
https://www.drupal.org/project/restrict_password_change
Project Git Url:
git clone --branch 8.x-1.x https://git.drupal.org/project/restrict_password_change.git
cd restrict_password_change
To submit bug reports and feature suggestions, or to track changes:
https://drupal.org/project/issues/restrict_password_change
Installation and configuration:
Put the module in your Drupal modules directory and enable it in admin/modules.
Go to admin/people/permissions and grant permission to any roles that need.
PAReview Results:
https://pareview.sh/pareview/https-git.drupal.org-project-restrict_passw...
| Comment | File | Size | Author |
|---|---|---|---|
| Restricts_password_change_permissions.png | 176.85 KB | heilop |
Comments
Comment #2
avpadernoComment #3
avpadernoTo the reviewers: Please set the priority to Normal after reviewing the project.
Comment #4
sleitner commentedAutomated Review
Review of the 8.x-1.x branch (commit 05fa18e):
This automated report was generated with PAReview.sh, your friendly project application review script.
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #5
avpadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.
Comment #6
heilop commentedThank you guys, for your revisions.
Thanks, @kiamlaluno for you approve and recommendations.