cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Sending an activation email now requires "Administrate users" permission

Open darylknight opened this issue 6 months ago • 1 comments

What happened?

Description

For years, we've created a Site Admin user group to assign clients to, and set it up like this:

Image

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:"

Image

Instead, they see this:

Image

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

  1. 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

darylknight avatar May 29 '25 09:05 darylknight

Hi, thanks for reporting! I raised a PR for this.

i-just avatar May 30 '25 06:05 i-just

This has been resolved in Craft 5.8 (#17362).

brandonkelly avatar Jul 01 '25 19:07 brandonkelly