0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 15:18:34 +08:00
discourse/plugins/discourse-assign/spec
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
..
components DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
fabricators
integration DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
jobs
lib DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
models FIX: show group Assignments tab based on assignable_level (#39085) 2026-04-08 16:50:27 +02:00
requests FIX: Validate assignment note length against max_post_length (#42231) 2026-07-31 13:34:48 -05:00
serializers DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
support DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
system FIX: Resolve groups when bulk assigning topics (#41867) 2026-07-21 16:18:58 +02:00
plugin_helper.rb FEATURE: Add category-level assignment permissions (#40412) 2026-06-08 09:59:40 -05:00
plugin_spec.rb FEATURE: Add category-level assignment permissions (#40412) 2026-06-08 09:59:40 -05:00