0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 19:53:47 +08:00
discourse/plugins/discourse-ai/spec
Isaac Janzen 3fc72584df
FIX: Disabled AI Discover remains usable via continue-conversation endpoint (#42267)
## Summary

The Discover continuation endpoint now checks the `ai_discover_enabled`
setting in its shared permission gate, rejecting both Discover routes
with a 403 when the feature is disabled. This prevents authenticated
agent-group members from creating AI-bot private-message conversations
or queueing replies after an administrator turns off Discovery Search.

## Source

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

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-08-03 12:01:10 -05:00
..
configuration DEV: Fix ai_image_caption_agent site setting leaking between specs (#41806) 2026-07-17 11:12:21 +01:00
evals FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
fabricators FEATURE: add cost limits to LLM quotas (#41277) 2026-06-30 15:59:24 +10:00
fixtures DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
integration DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
jobs DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
lib FEATURE: Add {username} template param to BotContext (#41446) 2026-08-03 12:38:39 -03:00
models FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
reports
requests FIX: Disabled AI Discover remains usable via continue-conversation endpoint (#42267) 2026-08-03 12:01:10 -05:00
serializers FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
services DEV: Accept group ids when importing agents (#42166) 2026-08-03 13:45:25 +08:00
shared/inference DEV: Make persona image tools platform agnostic (#36195) 2025-11-26 09:36:24 -08:00
support DEV: Add DiscourseAi.register_feature public API (#39127) 2026-05-12 10:16:07 +08:00
system UX: improve AI translation configuration (#42241) 2026-07-31 15:51:31 -04:00
tasks DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
plugin_helper.rb DEV: Fix tags_locale_detection_backfill spec flakes (#39553) 2026-04-27 10:45:04 +02:00
plugin_spec.rb DEV: Remove deprecated AI plugin settings (#37459) 2026-02-03 05:39:38 -08:00