cms
cms copied to clipboard
[5.x]: Sending an activation email now requires "Administrate users" permission
What happened?
Description
For years, we've created a Site Admin user group to assign clients to, and set it up like this:
This has allowed clients to create users and send them an activation email. We've never given them the "Administrate users" permission because of the warning that it could allow them to make themselves admins.
Today, a client emailed me to ask why the person they were trying to add never received an activation email, and it looks like it's because this button no longer shows up for them:"
Instead, they see this:
Assuming this is a bug - can you please udpate it so that users are able to add new users and send an activation email without making themselves admins?
Steps to reproduce
- Try to create a new user while signed in as a user without the Administrate users permission.
Expected behavior
Users should be able to create new users without having the Administrate users permission.
Actual behavior
Craft's behaviour has changed, and sending an activation email now requires the Administrate user permission.
Craft CMS version
5.7.8
PHP version
8.3
Operating system and version
No response
Database type and version
MySQL 8
Image driver and version
No response
Installed plugins and versions
Hi, thanks for reporting! I raised a PR for this.
This has been resolved in Craft 5.8 (#17362).