0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/plugins/discourse-ai/spec/requests
Mark VanLandingham c2a47a6675
FIX: Authorize Retried AI Bot Replies Against Topic Creator (#42325)
## Summary

Previously, AI bot replies checked agent access against the author of
the latest post, which meant a more privileged participant could
unintentionally unlock a restricted agent for a conversation; retries
could also lose the original authorization context, especially after a
failed response.

This change keeps topic-selected agents tied to the topic creator’s
permissions, records the exact authorizing user before response
generation begins, and reuses that information for retries. Explicit
agent mentions still use the mentioning user’s permissions, while legacy
conversations and missing users fail closed rather than guessing or
inheriting access from another participant.
## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1180
2026-08-05 14:28:53 -05:00
..
admin UX: Convert AI translation's max days ago setting to a specific date setting instead (#42082) 2026-07-28 18:27:34 +08:00
ai_bot FIX: Authorize Retried AI Bot Replies Against Topic Creator (#42325) 2026-08-05 14:28:53 -05:00
ai_helper FEATURE: Automatic AI captions (#41586) 2026-07-15 13:24:10 +08:00
discord DEV: Restore/remove/fix/update AI-related specs (#39539) 2026-04-27 00:20:33 +02:00
discover FIX: Disabled AI Discover remains usable via continue-conversation endpoint (#42267) 2026-08-03 12:01:10 -05:00
embeddings DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
sentiment SECURITY: Scope sentiment posts endpoint to allowed categories 2026-03-31 15:12:45 +01:00
summarization FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
translation FIX: Ensure "Translate Post" button does not silently skip bots (#38168) 2026-03-03 22:18:37 +08:00
ai_credits_controller_spec.rb DEV: Fix a flake in credit_status_checker_spec (#40092) 2026-05-16 18:46:01 +02:00
composer_controller_spec.rb FIX: Suppress composer mention warning for AI bot users (#39986) 2026-05-13 18:44:14 +02:00
mcp_oauth_controller_spec.rb FIX: Improve MCP OAuth callback error handling (#38889) 2026-03-27 07:34:24 +11:00
post_image_captions_controller_spec.rb FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
post_image_captions_rss_spec.rb FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
topic_spec.rb FEATURE: Change default upcoming change promotion status to Beta (#41275) 2026-07-06 09:13:37 +10:00