open-webui/backend/open_webui
G30 d65116282c
fix: enforce global ENABLE_CHANNELS check on all channel endpoints (#19957)
* 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
2025-12-20 08:15:29 -05:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal refactor: format 2025-08-10 22:28:31 +08:00
migrations refac: channel_file and knowledge table migration 2025-12-10 16:41:22 -05:00
models refac 2025-12-11 00:11:12 -05:00
retrieval feat : new environment variable SEARXNG_LANGUAGE , in the persistent config, that you can also edit in Admin > Web Search pannel in case you choose Searxng. This is used in the request to searxng as the "search language" (arguement "language"). Before this feature, it was set to en-US only. Now default is "all". (#19909) 2025-12-14 12:38:47 -05:00
routers fix: enforce global ENABLE_CHANNELS check on all channel endpoints (#19957) 2025-12-20 08:15:29 -05:00
socket Fix: Use SCAN instead of KEYS for Redis cluster compatibility (#19871) 2025-12-11 14:30:51 -05:00
static refac 2025-08-10 00:02:58 +04:00
storage refac/fix: s3 checksum validation 2025-08-21 12:44:16 +04:00
test chore: format, lint 2025-07-16 15:23:18 +09:00
utils refac: logit bias handling 2025-12-16 13:49:00 -05:00
__init__.py Update __init__.py 2025-04-15 09:55:35 +02:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py feat : new environment variable SEARXNG_LANGUAGE , in the persistent config, that you can also edit in Admin > Web Search pannel in case you choose Searxng. This is used in the request to searxng as the "search language" (arguement "language"). Before this feature, it was set to en-US only. Now default is "all". (#19909) 2025-12-14 12:38:47 -05:00
constants.py feat/enh: optional password validation 2025-11-20 17:44:49 -05:00
env.py feat/perf: Add ENABLE_PUBLIC_ACTIVE_USERS_COUNT environment variable (#20027) 2025-12-20 05:38:16 -05:00
functions.py refac: user valves 2025-09-26 17:49:42 -05:00
main.py feat/perf: Add ENABLE_PUBLIC_ACTIVE_USERS_COUNT environment variable (#20027) 2025-12-20 05:38:16 -05:00
tasks.py 0.6.33 (#18118) 2025-10-07 16:20:27 -05:00