mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-26 23:44:48 -06:00
d65116282c
* fix: enforce global ENABLE_CHANNELS check on all channel endpoints When channels are disabled globally (ENABLE_CHANNELS=false), users with channel permissions could still fetch channels via API endpoints. This fix adds a get_enabled_channels dependency to all 22 channel endpoints that returns 403 Forbidden when channels are globally disabled. Fixes #19914 * refac * refac