-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-admin users with "Moderate users" permission can suspend admins. #10422
Comments
@JansonChe for the first issue – I can't reproduce…as expected, I get the error: Can you try disabling all plugins: To help further, could you send your |
@JansonChe as for the second issue, this is actually working as expected, while maybe a bit awkward in this case. Currently, Craft will always allow you to assign users to groups the user themselves are in: #2087 This is being considered for a change in Craft 4, to make it clearer in use-cases like yours. |
@timkelty Thanks for clarifying the second issue. :) Regarding the first issue: Thanks a lot for you help! :) |
The first issue (non-admins able to suspend admins) is now fixed for the next release (#10460). The second issue (confusion over group assignment permissions) is resolved for Craft 4, which will drop the “Assign user groups” permission – which allowed users to assign groups they themselves belonged to – in favor of always requiring group-specific permissions (bca8c37). |
Craft 3.7.32 is out now with the suspend fix. |
Description
I have a user group called Manager that is allowed to add new users, assign them to a group called "Editor" with less permissions, as well as suspend/un-suspend them ("Moderate users" permission). Now I have two things that are seem a little strange. But the first issue is by far the more critical one.
Issues:
Expected:
I'm not sure if this is a bug or just how it is meant to work, but it seamed a little bit weird that an admin could be suspended by a non-admin.
Thanks a lot for your help :)
Steps to reproduce
For the second problem:
Additional info
"carlcs/craft-redactorcustomstyles": "3.0.4",
"craftcms/cms": "3.7.30.1",
"craftcms/feed-me": "4.4.1.1",
"craftcms/redactor": "2.8.8",
"ether/seo": "3.7.4",
"mmikkel/cp-field-inspect": "1.2.5",
"nystudio107/craft-twigpack": "1.2.15",
"ostark/craft-async-queue": "2.3.0",
"sebastianlenz/linkfield": "1.0.25",
"spicyweb/craft-neo": "2.12.3",
"verbb/field-manager": "2.2.4",
"verbb/knock-knock": "1.2.16",
"verbb/super-table": "2.7.1",
"wrav/oembed": "1.3.13"
The text was updated successfully, but these errors were encountered: