discourse/plugins/discourse-post-voting/spec/models
Juan David Martínez Cubillos c7c03e56e4
FIX: Disagree action can unsilence users outside reviewer authority (#39857)
Only unsilence users when disagreeing with a flag if the silence was
caused by that specific post. Previously, disagreeing would
unconditionally call `UserSilencer.unsilence`, allowing reviewers to
clear unrelated silences.

This aligns with `ReviewableFlaggedPost`'s behavior and prevents
category group moderators from using reviewables in their category to
clear silences imposed elsewhere.
2026-05-11 15:32:44 -05:00
..
post_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
post_voting_comment_spec.rb DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
post_voting_vote_spec.rb DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
reviewable_post_voting_comment_spec.rb FIX: Disagree action can unsilence users outside reviewer authority (#39857) 2026-05-11 15:32:44 -05:00
topic_embed_spec.rb DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
topic_spec.rb DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00