0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 22:42:07 +08:00
discourse/plugins/discourse-assign/lib
Isaac Janzen b1e2342388
FIX: Validate assignment note length against max_post_length (#42231)
## Summary

Assignment notes longer than the configured maximum post length are now
rejected server-side before persistence. The guard in `Assigner` returns
a clear error message and prevents the oversized note from being stored
on the assignment or appearing in the moderator tracking post,
maintaining the expected content boundary across the JSON API and bulk
assignment endpoints.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1574

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-07-31 13:34:48 -05:00
..
discourse_assign FIX: Resolve groups when bulk assigning topics (#41867) 2026-07-21 16:18:58 +02:00
discourse_workflows/nodes FIX: Resolve groups when bulk assigning topics (#41867) 2026-07-21 16:18:58 +02:00
validators
assigner.rb FIX: Validate assignment note length against max_post_length (#42231) 2026-07-31 13:34:48 -05:00
pending_assigns_reminder.rb
random_assign_utils.rb FEATURE: Add category-level assignment permissions (#40412) 2026-06-08 09:59:40 -05:00
topic_assigner.rb