mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
## What changed Small refactor in `can_delete_user?` All but moderators deleting each other is changed. ## Why This is inconsistent with the established permission hierarchy that prevents moderators from destructively acting on other staff members. We have a precedent for this change in: - [Prevent moderators from bulk-deleting another moderator's posts]( |
||
|---|---|---|
| .. | ||
| bookmark_guardian_spec.rb | ||
| flag_guardian_spec.rb | ||
| invite_guardian_spec.rb | ||
| localization_guardian_spec.rb | ||
| post_guardian_spec.rb | ||
| post_revision_guardian_spec.rb | ||
| staff_action_log_guardian_spec.rb | ||
| tag_guardian_spec.rb | ||
| topic_guardian_spec.rb | ||
| upload_guardian_spec.rb | ||
| user_guardian_spec.rb | ||